diff libinterp/parse-tree/lex.ll @ 20579:52ce821a52fd

eliminate simple uses of error_state in parser and lexer * lex.ll, oct-parse.in.yy: Eliminate simple uses of global error_state variable.
author John W. Eaton <jwe@octave.org>
date Sat, 03 Oct 2015 16:21:58 -0400
parents e679dc89e64b
children e34692daf663
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.ll	Sat Oct 03 16:05:27 2015 -0400
+++ b/libinterp/parse-tree/lex.ll	Sat Oct 03 16:21:58 2015 -0400
@@ -1911,9 +1911,6 @@
 
   string_vector argv = args.make_argv ("iskeyword");
 
-  if (error_state)
-    return retval;
-
   if (argc == 1)
     {
       // Neither set and get are keywords.  See the note in the