Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Unified Diff: src/lexer/even-more-experimental-scanner.h

Issue 72693002: Experimental lexer generator: Don't go BACK(); (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/lexer/even-more-experimental-scanner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lexer/even-more-experimental-scanner.h
diff --git a/src/lexer/even-more-experimental-scanner.h b/src/lexer/even-more-experimental-scanner.h
index c929a1db79e5aa8d1736babedbd74f673cc92a7f..fa60f103aa21d89e6e566e361a9efb872bf6eea0 100644
--- a/src/lexer/even-more-experimental-scanner.h
+++ b/src/lexer/even-more-experimental-scanner.h
@@ -36,7 +36,7 @@
#define PUSH_TOKEN(T) { send(T); start_ = cursor_; }
#define PUSH_LINE_TERMINATOR(s) { start_ = cursor_; }
-#define BACK() { yych = *(--cursor_); }
+#define FORWARD() { yych = *(++cursor_); }
#define SKIP() { start_ = cursor_; }
namespace v8 {
« no previous file with comments | « no previous file | src/lexer/even-more-experimental-scanner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698