aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/LexGen.py
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2014-01-14 19:10:10 +1100
committerNeil <nyamatongwe@gmail.com>2014-01-14 19:10:10 +1100
commit0f43c4932dae5ea0c66595f15543373948b48457 (patch)
treedeea85f3de84ea0a58d49abc839673dfd0b0bb65 /scripts/LexGen.py
parent9ea7245b440aa3de91ff532ce102ea9fa7e34d6c (diff)
downloadscintilla-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-xscripts/LexGen.py3
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("../")