summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eshtrans/frontend/lexer.esh4
-rw-r--r--eshtrans/main.esh5
2 files changed, 7 insertions, 2 deletions
diff --git a/eshtrans/frontend/lexer.esh b/eshtrans/frontend/lexer.esh
index 552be45..31670c1 100644
--- a/eshtrans/frontend/lexer.esh
+++ b/eshtrans/frontend/lexer.esh
@@ -518,6 +518,10 @@ scan_word()
'Unterminated' \
'quoted string'
;;
+ "${LF}")
+ lineno=$((${lineno} +1))
+ lines=$((${lines} + 1))
+ ;;
\')
break
;;
diff --git a/eshtrans/main.esh b/eshtrans/main.esh
index b637695..9373ff6 100644
--- a/eshtrans/main.esh
+++ b/eshtrans/main.esh
@@ -106,6 +106,7 @@ main()
#try '$((1 + $foo))'
#try "foo '\`'"
#try 'foo "`"'
-dbg=true
-try "\"'\""
+#dbg=true
+#try "\"'\""
+try "foo 'bar" "baz' &&"
}