All arguments after "--" are treated as input files, but re2c expects
exactly one input file.
-/* Generated by re2c 0.14.3 on Mon Jul 27 12:54:38 2015 */
+/* Generated by re2c 0.14.3 on Wed Jul 29 12:29:18 2015 */
#include <stdio.h>
#include "src/conf/msg.h"
// all remaining arguments are non-options
// so they must be input files
// re2c expects exactly one input file
- if (const char * f = *++argv)
+ for (const char * f = *++argv; f; f = *++argv)
{
- if (!opts.source (f) || *++argv)
+ if (!opts.source (f))
{
return EXIT_FAIL;
}
// all remaining arguments are non-options
// so they must be input files
// re2c expects exactly one input file
- if (const char * f = *++argv)
+ for (const char * f = *++argv; f; f = *++argv)
{
- if (!opts.source (f) || *++argv)
+ if (!opts.source (f))
{
return EXIT_FAIL;
}