build_scripts

This commit is contained in:
2022-08-01 01:41:52 +06:00
parent 3018020201
commit 914d4c4e10
11 changed files with 187 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ Maybe _throw_wrongchar(SharedLexerData* sld){
char* errline=string_extract(line);
char* _context=string_extract(context);
printf("\n\e[91mwrong char <%c> at [%s:%u:%u %s]\n >>> %s\n",
source[charnum], filename,linenum,charnum,context, errline);
source[charnum], filename,linenum,charnum,_context, errline);
exit(96);
}
#define throw_wrongchar(freeMem) { freeMem; return _throw_wrongchar(sld); }

View File

@@ -2,6 +2,7 @@
#include "../../../kerep/src/base/base.h"
typedef enum lexer_type{
AutoarrTokenPtr=my_type_last+1
} lexer_type;