fix size of arrays
[m6w6/ext-psi] / src / parser.re
index a5f271d328c000c537764ebcef9799eafb31187b..3fdd8660905258b11b281b0d4ca8d5b3a386c913 100644 (file)
@@ -275,6 +275,8 @@ struct psi_plist *psi_parser_scan(struct psi_parser *P, struct psi_parser_input
                ctxmrk = NULL;
                tok = cur;
 
+               (void) ctxmrk;
+
                /*!re2c
 
                re2c:indent:top = 2;
@@ -386,14 +388,6 @@ struct psi_plist *psi_parser_scan(struct psi_parser *P, struct psi_parser_input
                "long"                  { NEWTOKEN(PSI_T_LONG); goto start; }
                "float"                 { NEWTOKEN(PSI_T_FLOAT); goto start; }
                "double"                { NEWTOKEN(PSI_T_DOUBLE); goto start; }
-               "int8_t"                { NEWTOKEN(PSI_T_INT8); goto start; }
-               "uint8_t"               { NEWTOKEN(PSI_T_UINT8); goto start; }
-               "int16_t"               { NEWTOKEN(PSI_T_INT16); goto start; }
-               "uint16_t"              { NEWTOKEN(PSI_T_UINT16); goto start; }
-               "int32_t"               { NEWTOKEN(PSI_T_INT32); goto start; }
-               "uint32_t"              { NEWTOKEN(PSI_T_UINT32); goto start; }
-               "int64_t"               { NEWTOKEN(PSI_T_INT64); goto start; }
-               "uint64_t"              { NEWTOKEN(PSI_T_UINT64); goto start; }
                "unsigned"              { NEWTOKEN(PSI_T_UNSIGNED); goto start; }
                "signed"                { NEWTOKEN(PSI_T_SIGNED); goto start; }
                'IF'                    { NEWTOKEN(PSI_T_IF); goto start; }
@@ -426,6 +420,7 @@ struct psi_plist *psi_parser_scan(struct psi_parser *P, struct psi_parser_input
                'PRE_ASSERT'    { NEWTOKEN(PSI_T_PRE_ASSERT); goto start; }
                'POST_ASSERT'   { NEWTOKEN(PSI_T_POST_ASSERT); goto start; }
                'RETURN'                { NEWTOKEN(PSI_T_RETURN); goto start; }
+               'AS'                    { NEWTOKEN(PSI_T_AS); goto start; }
                'FREE'                  { NEWTOKEN(PSI_T_FREE); goto start; }
                'TEMP'                  { NEWTOKEN(PSI_T_TEMP); goto start; }
                'STRLEN'                { NEWTOKEN(PSI_T_STRLEN); goto start; }