diff libinterp/parse-tree/lex.ll @ 19414:5db5619fe54e

maint: Periodic merge of gui-release to default.
author John W. Eaton <jwe@octave.org>
date Thu, 04 Dec 2014 16:22:26 -0500
parents 86f50893acd8 c1ce43276b86
children 0e1f5a750d00
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.ll	Tue Dec 02 10:05:03 2014 -0500
+++ b/libinterp/parse-tree/lex.ll	Thu Dec 04 16:22:26 2014 -0500
@@ -3437,12 +3437,7 @@
   if (! input_buf.empty ())
     status = input_buf.copy_chunk (buf, max_size);
   else
-    {
-      status = YY_NULL;
-
-      if (! input_buf.at_eof ())
-        fatal_error ("octave_base_lexer::fill_flex_buffer failed");
-    }
+    status = YY_NULL;
 
   return status;
 }
@@ -3458,12 +3453,7 @@
   if (! input_buf.empty ())
     status = input_buf.copy_chunk (buf, max_size);
   else
-    {
-      status = YY_NULL;
-
-      if (! input_buf.at_eof ())
-        fatal_error ("octave_base_lexer::fill_flex_buffer failed");
-    }
+    status = YY_NULL;
 
   return status;
 }