;
declaration
- = var (COMMA var)* HASTYPE type # TypeAnnotation
+ = MODULE LBRACE (field (COMMA field)*)? RBRACE # ModuleHeader
+ | var (COMMA var)* HASTYPE type # TypeAnnotation
| bexp rhs # ValueDefinition
| DATA ID+ (EQUALS constructor (BAR constructor)*)? # DataDefinition
| TYPE ID+ EQUALS type # TypeDefinition
/******************************************************************************
* Auxiliary tokens
*/
-dummy = COMMENT EOL ;
\ No newline at end of file
+dummy = COMMENT EOL # Dummy
+ ;
\ No newline at end of file