Handle array variable declaration

This commit is contained in:
2025-01-06 15:08:23 +01:00
parent e8747a803f
commit ed1bb621d6
6 changed files with 178 additions and 77 deletions

View File

@@ -61,6 +61,12 @@ const {
var {
return yy::parser::make_VAR(this->location);
}
array {
return yy::parser::make_ARRAY(this->location);
}
of {
return yy::parser::make_OF(this->location);
}
true {
return yy::parser::make_BOOLEAN(true, this->location);
}