add proper C++ support

This commit is contained in:
2025-12-04 22:30:59 +01:00
parent eb527222b0
commit a9c04249a2
10 changed files with 19 additions and 5285 deletions

9
def.yy
View File

@@ -5,10 +5,11 @@
#define INFILE_ERROR 1
#define OUTFILE_ERROR 2
extern int yylex(void);
extern void yyerror(const char *s);
extern int yylineno;
extern FILE *yyin;
extern int yylineno;
extern FILE *yyin;
int yylex();
void yyerror(const char *msg, ...);
%}
%union {