diff libinterp/parse-tree/lex.h @ 16125:96a58f197f93

allow xunput to be called without buffer argument * lex.h, lex.ll (lexical_feedback::xunput (char)): New function. Forward to xunput (char, char*) with yytext as default buffer.
author John W. Eaton <jwe@octave.org>
date Tue, 26 Feb 2013 14:31:34 -0500
parents 3be725cd195b
children 5c885c13bfa3
line wrap: on
line diff
--- a/libinterp/parse-tree/lex.h
+++ b/libinterp/parse-tree/lex.h
@@ -216,6 +216,8 @@
 
   void xunput (char c, char *buf);
 
+  void xunput (char c);
+
   void fixup_column_count (char *s);
 
   bool inside_any_object_index (void);