Reviewers: ulan,

Message:
Committed patchset #1 manually as r17457.

Description:
Experimental parser: kill unnecessary rules.

[email protected]
BUG=

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

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

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

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


Index: src/lexer/lexer.re
diff --git a/src/lexer/lexer.re b/src/lexer/lexer.re
index b44140664a25c8625514d55e6b820912b36d059f..796a10c4e5223b77d76780990868b7863fe98a91 100644
--- a/src/lexer/lexer.re
+++ b/src/lexer/lexer.re
@@ -396,8 +396,6 @@ start_:
<IdentifierIllegal> identifier_char\identifier_start { marker_ = cursor_; goto yyc_IdentifierIllegal; } <IdentifierIllegal> "\\u" [0-9a-fA-F]{4} { if (ValidIdentifierStart()) { cursor_ -= 6; PUSH_TOKEN(Token::ILLEGAL); } marker_ = cursor_; PUSH_TOKEN(Token::ILLEGAL); } <IdentifierIllegal> "\\"+ { marker_ = cursor_; goto yyc_IdentifierIllegal; } - <IdentifierIllegal> number not_identifier_char { YYCTYPE* temp = cursor_; cursor_ = marker_; send(Token::ILLEGAL); cursor_ = temp; YYSETCONDITION(kConditionNormal); PUSH_TOKEN_LOOKAHEAD(Token::NUMBER); } - <IdentifierIllegal> number "\\u" [0-9a-fA-F]{4} { YYCTYPE* temp = cursor_; cursor_ = marker_; send(Token::ILLEGAL); cursor_ = temp; send(Token::ILLEGAL); start_ = cursor_; goto yyc_IdentifierIllegal; } <IdentifierIllegal> any { PUSH_TOKEN_LOOKAHEAD(Token::ILLEGAL); }

     <SingleLineComment> line_terminator { PUSH_LINE_TERMINATOR();}


--
--
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