Revision: 17553
Author: [email protected]
Date: Thu Nov 7 10:26:29 2013 UTC
Log: Experimental parser: more dot escaping
[email protected]
BUG=
Review URL: https://codereview.chromium.org/64153002
http://code.google.com/p/v8/source/detail?r=17553
Modified:
/branches/experimental/parser/tools/lexer_generator/automaton.py
=======================================
--- /branches/experimental/parser/tools/lexer_generator/automaton.py Thu
Nov 7 10:20:45 2013 UTC
+++ /branches/experimental/parser/tools/lexer_generator/automaton.py Thu
Nov 7 10:26:29 2013 UTC
@@ -61,6 +61,7 @@
v = str(v).replace('\t', '\\\\t')
v = str(v).replace('\n', '\\\\n')
v = str(v).replace('\\', '\\\\')
+ v = str(v).replace('\"', '\\\"')
return v
def f(node, node_content):
--
--
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.