Changeset 187506 in webkit for trunk/Source/JavaScriptCore/parser/Lexer.cpp
- Timestamp:
- Jul 28, 2015, 1:20:40 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/Lexer.cpp
r186959 r187506 2129 2129 } 2130 2130 2131 // No identifiers allowed directly after numeric literal, e.g. "3in" is bad.2132 2131 if (UNLIKELY(isIdentStart(m_current))) { 2133 m_lexErrorMessage = ASCIILiteral(" At least one digit must occur after a decimal point");2132 m_lexErrorMessage = ASCIILiteral("No identifiers allowed directly after numeric literal"); 2134 2133 token = atEnd() ? UNTERMINATED_NUMERIC_LITERAL_ERRORTOK : INVALID_NUMERIC_LITERAL_ERRORTOK; 2135 2134 goto returnError;
Note:
See TracChangeset
for help on using the changeset viewer.