diff options
author | nyamatongwe <devnull@localhost> | 2007-08-05 12:28:31 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2007-08-05 12:28:31 +0000 |
commit | 9f3cfb2b192f1b97aa3b223cad981a390edc4334 (patch) | |
tree | e600f3670868f44138d9d619621339bf34dc8b4e /src/LexGen.py | |
parent | fbf7f11ae47d0d21b2937a4f1c86cefdfaf94ebd (diff) | |
download | scintilla-mirror-9f3cfb2b192f1b97aa3b223cad981a390edc4334.tar.gz |
Using IFaceTable to discover value of menu constants so can also be used
from Lua.
Diffstat (limited to 'src/LexGen.py')
-rw-r--r-- | src/LexGen.py | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/LexGen.py b/src/LexGen.py index 26fb3a030..4f8e4debd 100644 --- a/src/LexGen.py +++ b/src/LexGen.py @@ -217,13 +217,6 @@ def RegenerateAll(): propFiles.sort(ciCompare) print propFiles - # Find all the menu command IDs in the SciTE header - SciTEHeader = file(root + "scite/src/SciTE.h") - lines = SciTEHeader.read().split("\n") - SciTEHeader.close() - ids = [id for id in [l.split()[1] for l in lines if l.startswith("#define")] if id.startswith("IDM_")] - #print ids - Regenerate(root + "scintilla/src/KeyWords.cxx", "//", NATIVE, lexerModules) Regenerate(root + "scintilla/win32/makefile", "#", NATIVE, lexFiles) Regenerate(root + "scintilla/win32/scintilla.mak", "#", NATIVE, lexFiles) @@ -237,7 +230,6 @@ def RegenerateAll(): if os.path.exists(root + "scite"): Regenerate(root + "scite/win32/makefile", "#", NATIVE, lexFiles, propFiles) Regenerate(root + "scite/win32/scite.mak", "#", NATIVE, lexFiles, propFiles) - Regenerate(root + "scite/src/SciTEProps.cxx", "//", NATIVE, lexerProperties, ids) Generate(root + "scite/boundscheck/vcproj.gen", root + "scite/boundscheck/SciTE.vcproj", "#", NATIVE, lexFiles) |