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

changeset 5843
76eee727ccd9
parent 3145
a9de05d4a22f
equal deleted inserted replaced
5842:c3f41b959a65 5843:76eee727ccd9
185 indent = "" 185 indent = ""
186 186
187 elif ch == "/" and next == "*": 187 elif ch == "/" and next == "*":
188 self.cursor += 1 188 self.cursor += 1
189 text = "/*" 189 text = "/*"
190 inline = startLine == self.line and startLine > 1
190 commentStartLine = self.line 191 commentStartLine = self.line
191 if startLine == self.line and not startOfFile: 192 if startLine == self.line and not startOfFile:
192 mode = "inline" 193 mode = "inline"
193 elif (self.line-1) > startLine: 194 elif (self.line-1) > startLine:
194 # distance before this comment means it is a comment block for a whole section (multiple lines of code) 195 # distance before this comment means it is a comment block for a whole section (multiple lines of code)

eric ide

mercurial