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

Unified Diff: Source/bindings/scripts/blink_idl_lexer.py

Issue 646283004: Don't use PLY cache files in Tools/Scripts/run-bindings-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | Source/bindings/scripts/idl_compiler.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/scripts/blink_idl_lexer.py
diff --git a/Source/bindings/scripts/blink_idl_lexer.py b/Source/bindings/scripts/blink_idl_lexer.py
index ba68c6c7dce1f27fee35f768d536401abfe5520b..31a71ff6e8ffe00486e14a01fd0f69bb2ee88c7b 100644
--- a/Source/bindings/scripts/blink_idl_lexer.py
+++ b/Source/bindings/scripts/blink_idl_lexer.py
@@ -110,6 +110,10 @@ class BlinkIDLLexer(IDLLexer):
except OSError:
pass
+ lextab = LEXTAB
+ else:
+ lextab = None
+
IDLLexer.__init__(self)
# Overrides to parent class
self._RemoveTokens(REMOVE_TOKENS)
@@ -120,7 +124,7 @@ class BlinkIDLLexer(IDLLexer):
self._lexobj = lex.lex(object=self,
debug=debug,
optimize=optimize,
- lextab=LEXTAB,
+ lextab=lextab,
outputdir=outputdir)
« no previous file with comments | « no previous file | Source/bindings/scripts/idl_compiler.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698