summaryrefslogtreecommitdiffstats
path: root/eshtrans
diff options
context:
space:
mode:
Diffstat (limited to 'eshtrans')
-rw-r--r--eshtrans/frontend/lexer.esh3
1 files changed, 1 insertions, 2 deletions
diff --git a/eshtrans/frontend/lexer.esh b/eshtrans/frontend/lexer.esh
index 75f02c8..8bba0e0 100644
--- a/eshtrans/frontend/lexer.esh
+++ b/eshtrans/frontend/lexer.esh
@@ -99,7 +99,7 @@ lgetc()
lungetc()
{
- lbufi=$((${lbufi} - 1))
+ lbufi=$((${lbufi} - 2))
eval "c=\${lbufv_${lbufi}}"
#echo "LUNGETC:$lineno: $lbufi '$c'" >&2
lbufi=$((${lbufi} + 1))
@@ -222,7 +222,6 @@ next()
return
;;
*)
- lungetc
next_word
return
;;