infix parsing and prebind fixes
This commit is contained in:
parent
65066c493e
commit
33f38c03d6
14 changed files with 1555 additions and 1089 deletions
|
@ -39,6 +39,8 @@
|
|||
|
||||
|
||||
enum msph_tok_type {
|
||||
TOK_INVAL = -1, // special: invalid, use to mark invalid toks
|
||||
TOK_EOF = 0, // special: end-of-file
|
||||
TOK_LBRACE, // {
|
||||
TOK_RBRACE, // }
|
||||
TOK_LBRAK, // [
|
||||
|
@ -67,9 +69,10 @@ enum msph_tok_type {
|
|||
TOK_CONST_FALSE, // False
|
||||
|
||||
TOK_IDENT, // identifiers
|
||||
TOK_INVAL, // special: invalid, use to mark invalid toks
|
||||
TOK_WSPACE, // special: whitespace
|
||||
TOK_END // special: end of array/token stream
|
||||
TOK_WSPACE, // whitespace
|
||||
|
||||
TOK_NOPE // special indicator: end of info array,
|
||||
// start of parsing
|
||||
};
|
||||
|
||||
#define MSPH_TAB_WIDTH 8
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue