- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for updateLineInfo (0.09 sec)
-
src/go/scanner/scanner.go
if next >= 0 /* implies valid comment */ && (lit[1] == '*' || offs == s.lineOffset) && bytes.HasPrefix(lit[2:], prefix) { s.updateLineInfo(next, offs, lit) } if numCR > 0 { lit = stripCR(lit, lit[1] == '*') } return string(lit), nlOffset } var prefix = []byte("line ") // updateLineInfo parses the incoming comment text at offset offs // as a line directive. If successful, it updates the line info table
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 24.3K bytes - Viewed (0)