diff options
Diffstat (limited to 'include/HFacer.py')
-rw-r--r-- | include/HFacer.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/HFacer.py b/include/HFacer.py index b3c8c2896..1b4d62746 100644 --- a/include/HFacer.py +++ b/include/HFacer.py @@ -1,7 +1,7 @@ # HFacer.py - regenerate the Scintilla.h and SciLexer.h files from the Scintilla.iface interface # definition file. -# The header files are copied to a temporary file apart from the section between a //++Autogenerated -# comment and a //--Autogenerated comment which is generated by the printHFile and printLexHFile +# The header files are copied to a temporary file apart from the section between a /* ++Autogenerated*/ +# comment and a /* --Autogenerated*/ comment which is generated by the printHFile and printLexHFile # functions. After the temporary file is created, it is copied back to the original file name. import string @@ -38,10 +38,10 @@ def CopyWithInsertion(input, output, genfn, definition): for line in input.readlines(): if copying: output.write(line) - if Contains(line, "//++Autogenerated"): + if Contains(line, "/* ++Autogenerated"): copying = 0 genfn(definition, output) - if Contains(line, "//--Autogenerated"): + if Contains(line, "/* --Autogenerated"): copying = 1 output.write(line) |