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 | 0f43c4932dae5ea0c66595f15543373948b48457 (patch) | |
tree | deea85f3de84ea0a58d49abc839673dfd0b0bb65 /scripts/LexGen.py | |
parent | 9ea7245b440aa3de91ff532ce102ea9fa7e34d6c (diff) | |
download | scintilla-mirror-0f43c4932dae5ea0c66595f15543373948b48457.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("../") |