Add yyac code

This commit is contained in:
ineed bots
2023-09-11 17:18:53 -06:00
parent 6627aff577
commit 2c922da647
8 changed files with 2127 additions and 14 deletions

View File

@ -1,5 +1,5 @@
#include <stdinc.hpp>
//#include "codsrc/clientscript/cscr_yacc.hpp"
#include "codsrc/clientscript/cscr_yacc.hpp"
namespace game
{
@ -70,4 +70,24 @@ namespace game
add esp, 0x4;
}
}
FILE* yy_load_buffer_state()
{
return codsrc::yy_load_buffer_state();
}
void yy_fatal_error(const char* err)
{
codsrc::yy_fatal_error(err);
}
void* yy_flex_realloc(void* ptr, unsigned int size)
{
return codsrc::yy_flex_realloc(ptr, size);
}
void yy_init_buffer(yy_buffer_state* b, FILE* file)
{
codsrc::yy_init_buffer(b, file);
}
}