ThirdParty/Jasy/jasy/js/tokenize/Tokenizer.py

changeset 5843
76eee727ccd9
parent 3145
a9de05d4a22f
diff -r c3f41b959a65 -r 76eee727ccd9 ThirdParty/Jasy/jasy/js/tokenize/Tokenizer.py
--- a/ThirdParty/Jasy/jasy/js/tokenize/Tokenizer.py	Thu Aug 10 13:58:50 2017 +0200
+++ b/ThirdParty/Jasy/jasy/js/tokenize/Tokenizer.py	Fri Aug 11 14:40:54 2017 +0200
@@ -187,6 +187,7 @@
             elif ch == "/" and next == "*":
                 self.cursor += 1
                 text = "/*"
+                inline = startLine == self.line and startLine > 1
                 commentStartLine = self.line
                 if startLine == self.line and not startOfFile:
                     mode = "inline"

eric ide

mercurial