diff options
author | Neil <nyamatongwe@gmail.com> | 2014-01-14 19:10:10 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2014-01-14 19:10:10 +1100 |
commit | ca2775205e4e722572138106ad714bd8ccdb5fc2 (patch) | |
tree | 55fa38eacf71e08e9c9af4893a3f1380b5724eca /scripts/LexGen.py | |
parent | d8aca4b3af308eed001204846025634a77a4211f (diff) | |
download | scintilla-mirror-ca2775205e4e722572138106ad714bd8ccdb5fc2.tar.gz |
Make HFacer callable from other Python code and call it from LexGen so
LexGen is always woking on up-to-date headers.
Diffstat (limited to 'scripts/LexGen.py')
-rwxr-xr-x | scripts/LexGen.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/LexGen.py b/scripts/LexGen.py index ef29b8def..b181da775 100755 --- a/scripts/LexGen.py +++ b/scripts/LexGen.py @@ -10,6 +10,7 @@ from FileGenerator import Regenerate, UpdateLineInFile, ReplaceREInFile import ScintillaData +import HFacer def UpdateVersionNumbers(sci, root): UpdateLineInFile(root + "win32/ScintRes.rc", "#define VERSION_SCINTILLA", @@ -46,6 +47,8 @@ def RegenerateAll(root): Regenerate(root + "win32/scintilla.mak", "#", sci.lexFiles) UpdateVersionNumbers(sci, root) + + HFacer.RegenerateAll(root, False) if __name__=="__main__": RegenerateAll("../") |