| OLD | NEW |
| 1 | |
| 2 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 the V8 project authors. All rights reserved. |
| 3 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
| 4 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
| 5 // met: | 4 // met: |
| 6 // | 5 // |
| 7 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
| 8 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
| 9 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
| 10 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
| 11 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
| (...skipping 1184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1196 } | 1195 } |
| 1197 | 1196 |
| 1198 bool PreParser::peek_any_identifier() { | 1197 bool PreParser::peek_any_identifier() { |
| 1199 i::Token::Value next = peek(); | 1198 i::Token::Value next = peek(); |
| 1200 return next == i::Token::IDENTIFIER || | 1199 return next == i::Token::IDENTIFIER || |
| 1201 next == i::Token::FUTURE_RESERVED_WORD; | 1200 next == i::Token::FUTURE_RESERVED_WORD; |
| 1202 } | 1201 } |
| 1203 | 1202 |
| 1204 #undef CHECK_OK | 1203 #undef CHECK_OK |
| 1205 } } // v8::preparser | 1204 } } // v8::preparser |
| OLD | NEW |