Mercurial > hg > octave-lyh
comparison libinterp/parse-tree/lex.ll @ 17351: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 | e993fa124b46 |
children | f0edd6c752e9 |
comparison
equal
deleted
inserted
replaced
17350:091e4df179de | 17351:6470a113eae2 |
---|---|
985 warning_with_id ("Octave:deprecated-syntax", "%s", msg); | 985 warning_with_id ("Octave:deprecated-syntax", "%s", msg); |
986 else | 986 else |
987 warning_with_id ("Octave:deprecated-syntax", | 987 warning_with_id ("Octave:deprecated-syntax", |
988 "%s; near line %d of file '%s'", msg, | 988 "%s; near line %d of file '%s'", msg, |
989 curr_lexer->input_line_number, nm.c_str ()); | 989 curr_lexer->input_line_number, nm.c_str ()); |
990 | |
991 curr_lexer->handle_continuation (); | |
990 } | 992 } |
991 | 993 |
992 %{ | 994 %{ |
993 // End of file. | 995 // End of file. |
994 %} | 996 %} |