diff options
author | nyamatongwe <unknown> | 2010-05-05 23:24:58 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-05-05 23:24:58 +0000 |
commit | 36c1da5ae635b6904d53cdfb3d186f2e52716def (patch) | |
tree | 91e205f560319f13d1448120881c800c787163f9 /src/LexGen.py | |
parent | af86ae121bf2a2d03c5128c8ec0fec60885ba0de (diff) | |
download | scintilla-mirror-36c1da5ae635b6904d53cdfb3d186f2e52716def.tar.gz |
Ensure script does not fail when GetProperty on a line without quoted string.
Diffstat (limited to 'src/LexGen.py')
-rw-r--r-- | src/LexGen.py | 2 |
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] |