o << " */\n";
o << sourceFileInfo;
- while(i.echo(o))
+ while(i.echo())
{
yyparse();
if(spec)
-/* Generated by re2c 0.10.0.rc1 on Wed Feb 1 00:27:14 2006 */
+/* Generated by re2c 0.10.1.dev on Sat Feb 25 13:38:57 2006 */
#line 1 "scanner.re"
/* $Id$ */
#include <stdlib.h>
#line 95 "scanner.re"
-int Scanner::echo(std::ostream &out){
+int Scanner::echo()
+{
char *cursor = cur;
bool ignore_eoc = false;
- // Catch EOF
- if (eof && cursor == eof)
+ if (eof && cursor == eof) // Catch EOF
{
return 0;
}
o << " */\n";
o << sourceFileInfo;
- while(i.echo(o))
+ while(i.echo())
{
yyparse();
if(spec)
public:
Scanner(std::istream&, std::ostream&);
- int echo(std::ostream&);
+ int echo();
int scan();
void fatal(const char*) const;
value = [^\r\n; \t]* | dstring | sstring;
*/
-int Scanner::echo(std::ostream &out){
+int Scanner::echo()
+{
char *cursor = cur;
bool ignore_eoc = false;
- // Catch EOF
- if (eof && cursor == eof)
+ if (eof && cursor == eof) // Catch EOF
{
return 0;
}