#include "tools/re2c/substr.h"
#include "tools/re2c/globals.h"
#include "tools/re2c/dfa.h"
+#include "tools/re2c/parse.h"
static void useLabel(size_t value) {
while (value >= vUsedLabelAlloc) {
Go_genGoto(&s->go, tmpo, s, s->next, &readCh);
}
fclose(tmpo);
- unlink("re2c.tmp");
+ remove("re2c.tmp");
maxFillIndexes = vFillIndexes;
vFillIndexes = orgVFillIndexes;
oline = nOrgOline;
oline++;
useLabel(label);
} else {
- unsigned int i;
+ int i;
fputs("\tswitch(YYGETSTATE()) {\n", o);
fputs("\t\tcase -1: goto yy0;\n", o);
void
SubStr_out(const SubStr *s, FILE *o)
{
- int i;
+ unsigned int i;
fwrite(s->str, s->len, 1, o);
for (i=0; i<s->len; i++)
if (s->str[i] == '\n')