1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
/* This file is part of the GNU plotutils package. */
/*
* Copyright (C) 1996, 1997, 2005, 2008, Free Software Foundation, Inc.
*/
/*
* lex wrapper for ode.
*
*/
#include "sys-defines.h"
#include "ode.h"
#include "extern.h"
int
yywrap (void)
{
if (yyin != stdin) /* we were reading from a file, */
{ /* so switch to reading from stdin */
yyin = stdin;
filename = "";
curline = 1;
return 0;
}
else /* we were reading from stdin, */
return 1; /* so there's no more input */
}
|