diff options
-rw-r--r-- | eshtrans/frontend/lexer.esh | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/eshtrans/frontend/lexer.esh b/eshtrans/frontend/lexer.esh index 6120128..d6e9271 100644 --- a/eshtrans/frontend/lexer.esh +++ b/eshtrans/frontend/lexer.esh @@ -107,14 +107,10 @@ lungetc() lsetc() { - if [ ${lbufi} -ge ${lbufc} ]; then - c='' - else - lbufi=$((${lbufi} - 1)) - eval "c=\${lbufv_${lbufi}}" - #echo "LSETC:$lineno: $lbufi '$c'" >&2 - lbufi=$((${lbufi} + 1)) - fi + lbufi=$((${lbufi} - 1)) + eval "c=\${lbufv_${lbufi}}" + #echo "LSETC:$lineno: $lbufi '$c'" >&2 + lbufi=$((${lbufi} + 1)) } # |