fixed double free of vector and parserlang and creating a parser by string should work now
This commit is contained in:
parent
5a5eaabc14
commit
4c3d357cb9
12 changed files with 298 additions and 82 deletions
|
|
@ -26,11 +26,6 @@ extern "C" {
|
|||
<alphaChar> -> ALPHA_LOWER_CHAR | ALPHA_UPPER_CHAR
|
||||
*/
|
||||
|
||||
/*
|
||||
* @brief
|
||||
*/
|
||||
typedef uint32_t (* ARC_ParserLang_GetIdFn)(ARC_String *constant);
|
||||
|
||||
/*
|
||||
* @brief creates a parser for the Parser Lang
|
||||
*
|
||||
|
|
@ -39,7 +34,7 @@ typedef uint32_t (* ARC_ParserLang_GetIdFn)(ARC_String *constant);
|
|||
*
|
||||
* @param[out] parser the parser to create
|
||||
*/
|
||||
void ARC_Parser_CreateAsParserLang(ARC_Parser **parser, ARC_ParserLang_GetIdFn getIdFn);
|
||||
void ARC_ParserLang_CreateAsParser(ARC_Parser **parser, ARC_Parser_GetStringIdFn getStringIdFn);
|
||||
|
||||
#define ARC_PARSERLANG_TOKEN_NULL 0
|
||||
#define ARC_PARSERLANG_TOKEN_NUMBER 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue