aboutsummaryrefslogtreecommitdiff
path: root/lexer.go
diff options
context:
space:
mode:
Diffstat (limited to 'lexer.go')
-rw-r--r--lexer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexer.go b/lexer.go
index c43ba94..e5e025b 100644
--- a/lexer.go
+++ b/lexer.go
@@ -24,7 +24,7 @@ func (y *yyLex) Error(s string) {
log.Println(s)
}
-func (y *yyLex) Lex(lval *yySymType) (ret int) {
+func (y *yyLex) Lex(lval *yySymType) int {
item := <-y.items
switch item.typ {
case STRING: