projects
/
m6w6
/
ext-psi
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
working asctime
[m6w6/ext-psi]
/
src
/
parser.re
diff --git
a/src/parser.re
b/src/parser.re
index c134ffdf0e41020dbb485b6c11006beccf029fa2..13d6484fa3682fd9b0176b57d21ec96c6cc595e2 100644
(file)
--- a/
src/parser.re
+++ b/
src/parser.re
@@
-189,6
+189,7
@@
token_t PSI_ParserScan(PSI_Parser *P)
LONG = 'long';
FLOAT = 'float';
DOUBLE = 'double';
LONG = 'long';
FLOAT = 'float';
DOUBLE = 'double';
+ SIZE_T = 'size_t';
SINT8 = 'sint8';
UINT8 = 'uint8';
SINT16 = 'sint16';
SINT8 = 'sint8';
UINT8 = 'uint8';
SINT16 = 'sint16';
@@
-213,6
+214,7
@@
token_t PSI_ParserScan(PSI_Parser *P)
INTVAL = 'intval';
FLOATVAL = 'floatval';
BOOLVAL = 'boolval';
INTVAL = 'intval';
FLOATVAL = 'floatval';
BOOLVAL = 'boolval';
+ ARRVAL = 'arrval';
CALLOC = 'calloc';
TO_ARRAY = 'to_array';
TO_STRING = 'to_string';
CALLOC = 'calloc';
TO_ARRAY = 'to_array';
TO_STRING = 'to_string';
@@
-249,6
+251,7
@@
token_t PSI_ParserScan(PSI_Parser *P)
LONG {RETURN(PSI_T_LONG);}
FLOAT {RETURN(PSI_T_FLOAT);}
DOUBLE {RETURN(PSI_T_DOUBLE);}
LONG {RETURN(PSI_T_LONG);}
FLOAT {RETURN(PSI_T_FLOAT);}
DOUBLE {RETURN(PSI_T_DOUBLE);}
+ SIZE_T {RETURN(PSI_T_SIZE_T);}
SINT8 {RETURN(PSI_T_SINT8);}
UINT8 {RETURN(PSI_T_UINT8);}
SINT16 {RETURN(PSI_T_SINT16);}
SINT8 {RETURN(PSI_T_SINT8);}
UINT8 {RETURN(PSI_T_UINT8);}
SINT16 {RETURN(PSI_T_SINT16);}
@@
-273,6
+276,7
@@
token_t PSI_ParserScan(PSI_Parser *P)
INTVAL {RETURN(PSI_T_INTVAL);}
FLOATVAL {RETURN(PSI_T_FLOATVAL);}
BOOLVAL {RETURN(PSI_T_BOOLVAL);}
INTVAL {RETURN(PSI_T_INTVAL);}
FLOATVAL {RETURN(PSI_T_FLOATVAL);}
BOOLVAL {RETURN(PSI_T_BOOLVAL);}
+ ARRVAL {RETURN(PSI_T_ARRVAL);}
CALLOC {RETURN(PSI_T_CALLOC);}
TO_ARRAY {RETURN(PSI_T_TO_ARRAY);}
TO_STRING {RETURN(PSI_T_TO_STRING);}
CALLOC {RETURN(PSI_T_CALLOC);}
TO_ARRAY {RETURN(PSI_T_TO_ARRAY);}
TO_STRING {RETURN(PSI_T_TO_STRING);}