From e858b7b8330ec9e7b7f91a810ed9b30674299c2a Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 21 Feb 2016 13:02:45 -0500 Subject: eshtrans/frontend: Count singly quoted newlines --- (limited to 'eshtrans/frontend') 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 ;; -- cgit v0.9.1