Implement shift operators

This commit is contained in:
2025-02-15 00:38:46 +01:00
parent ee4ebf64b9
commit 82b3806fd2
7 changed files with 53 additions and 23 deletions

View File

@ -137,9 +137,6 @@ return {
cast {
return yy::parser::make_CAST(this->location);
}
sizeof {
return yy::parser::make_SIZEOF(this->location);
}
defer {
return yy::parser::make_DEFER(this->location);
}
@ -232,6 +229,12 @@ defer {
\] {
return yy::parser::make_RIGHT_SQUARE(this->location);
}
\<\< {
return yy::parser::make_SHIFT_LEFT(this->location);
}
\>\> {
return yy::parser::make_SHIFT_RIGHT(this->location);
}
\>= {
return yy::parser::make_GREATER_EQUAL(this->location);
}