diff --git a/src/parse.y b/src/parse.y index c652a471d6..09db942d53 100644 --- a/src/parse.y +++ b/src/parse.y @@ -13,7 +13,7 @@ %token TOK_CONSTANT TOK_COPY TOK_COUNT TOK_DEFAULT TOK_DELETE %token TOK_DOUBLE TOK_ELSE TOK_ENUM TOK_EVENT TOK_EXPORT TOK_FALLTHROUGH %token TOK_FILE TOK_FOR TOK_FUNCTION TOK_GLOBAL TOK_HOOK TOK_ID TOK_IF TOK_INT -%token TOK_INTERVAL TOK_LIST TOK_MODULE +%token TOK_INTERVAL TOK_MODULE %token TOK_LOCAL TOK_WHEN_LOCAL %token TOK_NEXT TOK_OF TOK_OPAQUE TOK_PATTERN TOK_PATTERN_END TOK_PATTERN_TEXT %token TOK_PORT TOK_PRINT TOK_RECORD TOK_REDEF @@ -1210,22 +1210,6 @@ simple_type: $$ = $4; } - | TOK_LIST - { - set_location(@1); - // $$ = new TypeList(); - reporter->Error("list type not implemented"); - $$ = 0; - } - - | TOK_LIST TOK_OF type - { - set_location(@1); - // $$ = new TypeList($3); - reporter->Error("list type not implemented"); - $$ = 0; - } - | TOK_VECTOR TOK_OF type { set_location(@1, @3); diff --git a/src/scan.l b/src/scan.l index 8a5d796736..5b135ee494 100644 --- a/src/scan.l +++ b/src/scan.l @@ -347,7 +347,6 @@ in return TOK_IN; int return TOK_INT; interval return TOK_INTERVAL; is return TOK_IS; -list return TOK_LIST; local return in_when_cond ? TOK_WHEN_LOCAL : TOK_LOCAL; module return TOK_MODULE; next return TOK_NEXT;