From 446e3fd68f391a4087aa2bc85fa2e6696ed42eaf Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 5 Aug 2007 12:28:31 +0000 Subject: Using IFaceTable to discover value of menu constants so can also be used from Lua. --- src/LexGen.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'src/LexGen.py') 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) -- cgit v1.2.3