aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexGen.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/LexGen.py')
-rw-r--r--src/LexGen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LexGen.py b/src/LexGen.py
index c73699c58..c5ea8001c 100644
--- a/src/LexGen.py
+++ b/src/LexGen.py
@@ -181,7 +181,7 @@ def FindProperties(lexFile):
properties = {}
f = open(lexFile)
for l in f.readlines():
- if "GetProperty" in l:
+ if "GetProperty" in l and '"' in l:
l = l.strip()
if not l.startswith("//"): # Drop comments
propertyName = l.split("\"")[1]