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

Unified Diff: src/lexer/lexer.re

Issue 59533005: Prepare lexer-shell for benchmarking: process multiple input files, adjust output. (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/lexer-shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lexer/lexer.re
diff --git a/src/lexer/lexer.re b/src/lexer/lexer.re
index e1ad0c029c5fd6a1b75cc96d546fea3159c6e6d9..625ab922b98fa27aa06c92582ce1f146b8994606 100644
--- a/src/lexer/lexer.re
+++ b/src/lexer/lexer.re
@@ -217,6 +217,7 @@ uint32_t PushScanner::push(const void *input, int input_size) {
#define YYGETCONDITION() condition_
#define YYSETCONDITION(x) { condition_ = (x); }
+#define YYDEBUG(state, current) {printf("%d: |%c| (%d)\n", state, current, (int)(current));}
start_:
if (FLAG_trace_lexer) {
« no previous file with comments | « no previous file | src/lexer/lexer-shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698