aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-03-23 01:02:04 +0100
committerDimitri Sokolyuk <demon@dim13.org>2015-03-23 01:02:04 +0100
commitcff4bb40fe682c6c1b1462df9f2dc35da1d6c985 (patch)
tree590f4c80ebfd0ff411114fdd1ad73573ab3968ee
parent39425b56c1cf0f4171e9d8c49d81368f9155c771 (diff)
Remove unused variable
-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: