|
|
@ -203,6 +203,9 @@ def remove_comment(line, is_comment):
|
|
|
|
if match:
|
|
|
|
if match:
|
|
|
|
# the end of where the real string is is where the comment starts
|
|
|
|
# the end of where the real string is is where the comment starts
|
|
|
|
line = line[0:(match.end()-1)]
|
|
|
|
line = line[0:(match.end()-1)]
|
|
|
|
|
|
|
|
elif line.startswith(";"):
|
|
|
|
|
|
|
|
# if the line is actually a comment just ignore it all
|
|
|
|
|
|
|
|
line = ""
|
|
|
|
|
|
|
|
|
|
|
|
return line.replace("\\", "").strip(), False
|
|
|
|
return line.replace("\\", "").strip(), False
|
|
|
|
|
|
|
|
|
|
|
|