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

Unified Diff: src/lexer/lexer-shell.cc

Issue 96173004: Experimental scanner fix: recognize one byte strings inside utf16 files. (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 | « src/lexer/experimental-scanner.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/lexer/lexer-shell.cc
diff --git a/src/lexer/lexer-shell.cc b/src/lexer/lexer-shell.cc
index af50c9c9e65564a3778178d154e6cd24adc422dd..83d273935b20fdd14983d4bd7657fe38ea91a8ff 100644
--- a/src/lexer/lexer-shell.cc
+++ b/src/lexer/lexer-shell.cc
@@ -196,6 +196,7 @@ struct TokenWithLocation {
for (size_t i = 0; i < literal.size(); i++) {
printf(is_ascii ? " %02x" : " %04x", literal[i]);
}
+ printf(" (is ascii: %d)", is_ascii);
}
printf(" (last octal start: %d)\n", octal_beg);
}
« no previous file with comments | « src/lexer/experimental-scanner.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698