changeset 17343:6470a113eae2

correctly handle deprecated \ continuation markers * lex.ll (\\{S}*{NL} | \\{S}*{CCHAR}.*{NL}): Call curr_lexer->handle_continuation.
author John W. Eaton <jwe@octave.org>
date Wed, 28 Aug 2013 16:35:03 -0400
parents 091e4df179de
children 4ddc277e5bdb
files libinterp/parse-tree/lex.ll
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.ll	Wed Aug 28 14:46:02 2013 -0400
+++ b/libinterp/parse-tree/lex.ll	Wed Aug 28 16:35:03 2013 -0400
@@ -987,6 +987,8 @@
       warning_with_id ("Octave:deprecated-syntax",
                        "%s; near line %d of file '%s'", msg,
                        curr_lexer->input_line_number, nm.c_str ());
+
+    curr_lexer->handle_continuation ();
   }
 
 %{