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

Unified Diff: tools/lexer_generator/encoding.py

Issue 159853009: Experimental parser: split off dot processing (Closed) Base URL: https://v8.googlecode.com/svn/branches/experimental/parser
Patch Set: Created 6 years, 10 months 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 | « tools/lexer_generator/dot_utilities.py ('k') | tools/lexer_generator/generator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/lexer_generator/encoding.py
diff --git a/tools/lexer_generator/encoding.py b/tools/lexer_generator/encoding.py
index b304bba7b073545376b818f1b855cd3f5791ffc7..f9c663f881008c7df19b56de82b334b7f62b5c07 100644
--- a/tools/lexer_generator/encoding.py
+++ b/tools/lexer_generator/encoding.py
@@ -1,4 +1,4 @@
-# Copyright 2013 the V8 project authors. All rights reserved.
+# Copyright 2014 the V8 project authors. All rights reserved.
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
@@ -46,7 +46,7 @@ class KeyEncoding(object):
if x > 127:
return str(x)
if not x in KeyEncoding.__printable_cache:
- res = "'%s'" % chr(x) if chr(x) in printable else str(x)
+ res = "%s" % chr(x) if chr(x) in printable else str(x)
KeyEncoding.__printable_cache[x] = res
return KeyEncoding.__printable_cache[x]
« no previous file with comments | « tools/lexer_generator/dot_utilities.py ('k') | tools/lexer_generator/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698