cmd: add php5 flag

This commit is contained in:
z7zmey
2018-02-06 12:39:42 +02:00
parent ce9d676229
commit f546db54b6
5 changed files with 43 additions and 26 deletions

View File

@@ -12,15 +12,15 @@ import (
)
type lexer struct {
scanner.Lexer
scanner.Lexer
}
func (l *lexer) Lex(lval *yySymType) int {
return l.Lexer.Lex(lval)
return l.Lexer.Lex(lval)
}
func (lval *yySymType) Token(t token.Token) {
lval.token = t
lval.token = t
}
func newLexer(src io.Reader, fName string) *lexer {