lang: parser: Simplify code and format it
This would get done by gofmt -s anyways.
This commit is contained in:
@@ -335,7 +335,7 @@
|
||||
yylex.pos(lval) // our pos
|
||||
s := yylex.Text()
|
||||
|
||||
lval.str = s[1:len(s)] // remove the leading #
|
||||
lval.str = s[1:] // remove the leading #
|
||||
//log.Printf("lang: lexer: comment: `%s`", lval.str)
|
||||
//return COMMENT // skip return to avoid parsing
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user