1234567891011121314151617181920212223242526272829 |
- /* 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 */
- }
|