lev_comp update for older Unix system
Increase the lex paramaters in lev_comp.l and replace use of snprintf with sprintf in lev_comp.y and lev_main.c. Also some reformatting for lev_comp.y, but I gave up pretty quickly: some early tab replacement and adjusting of the spacing for casts.
This commit is contained in:
@@ -102,9 +102,9 @@ FILE *orig_yyin = NULL;
|
||||
#define ST_RETF(y, x) do { savetoken(yytext); y; return x; } while (0);
|
||||
|
||||
%}
|
||||
%e 2000
|
||||
%p 5000
|
||||
%n 700
|
||||
%e 2500
|
||||
%p 10000
|
||||
%n 1500
|
||||
%s MAPC
|
||||
%%
|
||||
<MAPC>ENDMAP {
|
||||
|
||||
Reference in New Issue
Block a user