More work on the instanced parser

This commit is contained in:
ridiculousfish
2012-01-22 20:47:13 -08:00
parent 7e486e3b5c
commit da85bdc401
10 changed files with 145 additions and 157 deletions

View File

@@ -62,7 +62,7 @@ enum tokenizer_error
/**
The tokenizer struct.
*/
typedef struct
struct tokenizer
{
/** A pointer into the original string, showing where the next token begins */
wchar_t *buff;
@@ -89,8 +89,7 @@ typedef struct
wchar_t last_quote;
/** Last error */
int error;
}
tokenizer;
};
/**
Initialize the tokenizer. b is the string that is to be