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

@ -9,3 +9,4 @@
#include "cscr_tempmemory.hpp"
#include "cscr_variable.hpp"
#include "cscr_vm.hpp"
#include "cscr_yacc.hpp"

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,21 @@
#pragma once
namespace codsrc
{
unsigned int LowerCase(unsigned int strVal);
int yyparse();
int StringValue(int len, const char* str);
int yylex();
int yy_get_next_buffer();
int yy_get_previous_state();
int yy_try_NUL_trans(int yy_current_state);
void yyrestart();
game::yy_buffer_state* yy_create_buffer();
void yy_flush_buffer(game::yy_buffer_state* result);
void ScriptParse(game::scriptInstance_t a1, game::sval_u* parseData);
FILE* yy_load_buffer_state();
void yy_fatal_error(const char* err);
void* yy_flex_realloc(void* ptr, unsigned int size);
void yy_init_buffer(game::yy_buffer_state* b, FILE* file);
}