lang: parser: Typo fix
This commit is contained in:
@@ -1486,7 +1486,7 @@ func cast(y yyLexer) *lexParseAST {
|
|||||||
return x.(*lexParseAST)
|
return x.(*lexParseAST)
|
||||||
}
|
}
|
||||||
|
|
||||||
// postLast pulls out the "last token" and does a pos with that. This is a hack!
|
// posLast pulls out the "last token" and does a pos with that. This is a hack!
|
||||||
func posLast(y yyLexer, dollars []yySymType) {
|
func posLast(y yyLexer, dollars []yySymType) {
|
||||||
// pick the last token in the set matched by the parser
|
// pick the last token in the set matched by the parser
|
||||||
pos(y, dollars[len(dollars)-1]) // our pos
|
pos(y, dollars[len(dollars)-1]) // our pos
|
||||||
|
|||||||
Reference in New Issue
Block a user