add generic arrays
This commit is contained in:
3
tok.c
3
tok.c
@@ -117,6 +117,7 @@ int8_t op_prec[OperatorEnumSize] = {
|
||||
[OpNewLn] = PREC_DELIM,
|
||||
[OpLCurl] = PREC_DELIM,
|
||||
[OpRParen] = PREC_DELIM,
|
||||
[OpRBrack] = PREC_DELIM,
|
||||
[OpComma] = PREC_DELIM,
|
||||
[OpAnd] = 0,
|
||||
[OpOr] = 0,
|
||||
@@ -137,6 +138,8 @@ const char *op_str[OperatorEnumSize] = {
|
||||
[OpRCurl] = "}",
|
||||
[OpLParen] = "(",
|
||||
[OpRParen] = ")",
|
||||
[OpLBrack] = "[",
|
||||
[OpRBrack] = "]",
|
||||
[OpComma] = ",",
|
||||
[OpAdd] = "+",
|
||||
[OpSub] = "-",
|
||||
|
||||
Reference in New Issue
Block a user