Reviewers: dcarney,

Message:
Committed patchset #1 manually as r17825 (presubmit successful).

Description:
Experimental lexer generator: Fix number rules.

[email protected]
BUG=

Committed: https://code.google.com/p/v8/source/detail?r=17825

Please review this at https://codereview.chromium.org/75203002/

SVN Base: https://v8.googlecode.com/svn/branches/experimental/parser

Affected files (+1, -0 lines):
  M src/lexer/lexer_py.re


Index: src/lexer/lexer_py.re
diff --git a/src/lexer/lexer_py.re b/src/lexer/lexer_py.re
index 96d4f516a61feaad57d5dd103ee06c866ccdb6c2..bf08134c8237cf607c947d7851c402a633478027 100644
--- a/src/lexer/lexer_py.re
+++ b/src/lexer/lexer_py.re
@@ -101,6 +101,7 @@ line_terminator_sequence = (/\n\r?/)|(/\r\n?/);

 number        <|push_token(NUMBER)|>
 number identifier_char   <|push_token(ILLEGAL)|>
+number "\\"   <|push_token(ILLEGAL)|>

 "("           <|push_token(LPAREN)|>
 ")"           <|push_token(RPAREN)|>


--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to