From c0f3ce62dd1653dee277b56471145c449ab5e5e1 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 8 Jan 2009 09:14:54 +0000 Subject: =?UTF-8?q?Patch=20from=20Enrico=20Tr=C3=B6ger=20to=20change=20com?= =?UTF-8?q?ments=20in=20header=20files=20to=20C=20Style=20/*=20rather=20th?= =?UTF-8?q?an=20C++=20style=20//=20so=20that=20some=20compilers=20will=20w?= =?UTF-8?q?ork.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/HFacer.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/HFacer.py') 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) -- cgit v1.2.3