diff options
author | nyamatongwe <unknown> | 2007-08-05 12:28:31 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2007-08-05 12:28:31 +0000 |
commit | 446e3fd68f391a4087aa2bc85fa2e6696ed42eaf (patch) | |
tree | e600f3670868f44138d9d619621339bf34dc8b4e /src/LexGen.py | |
parent | ad78f49baf803944285c6acacf19a72846c44c04 (diff) | |
download | scintilla-mirror-446e3fd68f391a4087aa2bc85fa2e6696ed42eaf.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) |