mirror of
https://github.com/Sei-Lisa/LSL-PyOptimizer
synced 2025-07-03 00:18:20 +00:00
Refine a comment
This commit is contained in:
parent
e35431cecf
commit
52ebe20a67
1 changed files with 4 additions and 1 deletions
|
@ -321,7 +321,10 @@ class parser(object):
|
||||||
if c == '#' and self.skippreproc:
|
if c == '#' and self.skippreproc:
|
||||||
# Preprocessor directives act like single line comments.
|
# Preprocessor directives act like single line comments.
|
||||||
# Most are not supposed to reach us but cpp also generates
|
# Most are not supposed to reach us but cpp also generates
|
||||||
# as output lines like: # 123 "file.lsl"
|
# lines in the output like: # 123 "file.lsl"
|
||||||
|
# and other preprocessors including Boost Wave and mcpp
|
||||||
|
# generate lines like: #line 123 "file.lsl" (Firestorm
|
||||||
|
# comments these out and outputs //#line 123 "file.lsl")
|
||||||
self.ceof()
|
self.ceof()
|
||||||
while self.script[self.pos] != '\n':
|
while self.script[self.pos] != '\n':
|
||||||
self.pos += 1
|
self.pos += 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue