Make flex --help work again.

Fixes a stupid, trivial initialization-time bug introduce
during methodizatiion.
This commit is contained in:
Eric S. Raymond 2020-10-12 09:36:44 -04:00
parent aac8fe8896
commit da0cd947c3

View File

@ -737,6 +737,8 @@ void flexinit (int argc, char **argv)
tablesfilename = tablesname = NULL;
sawcmpflag = false;
backend = &cpp_backend;
/* Initialize dynamic array for holding the rule actions. */
action_size = 2048; /* default size of action array in bytes */
@ -1200,8 +1202,6 @@ void flexinit (int argc, char **argv)
lastprot = 1;
set_up_initial_allocations ();
backend = &cpp_backend;
}