| 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 1191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1203 } | 1202 } |
| 1204 | 1203 |
| 1205 bool PreParser::peek_any_identifier() { | 1204 bool PreParser::peek_any_identifier() { |
| 1206 i::Token::Value next = peek(); | 1205 i::Token::Value next = peek(); |
| 1207 return next == i::Token::IDENTIFIER || | 1206 return next == i::Token::IDENTIFIER || |
| 1208 next == i::Token::FUTURE_RESERVED_WORD; | 1207 next == i::Token::FUTURE_RESERVED_WORD; |
| 1209 } | 1208 } |
| 1210 | 1209 |
| 1211 #undef CHECK_OK | 1210 #undef CHECK_OK |
| 1212 } } // v8::preparser | 1211 } } // v8::preparser |
| OLD | NEW |