Reviewers: marja,
Message:
Committed patchset #1 manually as r17812 (presubmit successful).
Description:
Experimental parser: better hex digit detection
[email protected]
BUG=
Committed: https://code.google.com/p/v8/source/detail?r=17812
Please review this at https://codereview.chromium.org/75053002/
SVN Base: https://v8.googlecode.com/svn/branches/experimental/parser
Affected files (+1, -1 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
4a49a3ab81ef3a3277b7fcf50f986d6c6ae8b13a..c601ea3313dde5fe048c47ad4bdc7b6e118e069d
100644
--- a/src/lexer/lexer_py.re
+++ b/src/lexer/lexer_py.re
@@ -34,7 +34,7 @@ digit = [0-9];
hex_digit = [0-9a-fA-F];
maybe_exponent = /([eE][\-+]?[:digit:]+)?/;
number =
- /0x[:hex_digit:]+/ | (
+ /0[xX][:hex_digit:]+/ | (
/\.[:digit:]+/ maybe_exponent |
/[:digit:]+(\.[:digit:]*)?/ maybe_exponent );
--
--
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.