add grammar rules

This commit is contained in:
birds3345 2024-07-19 23:01:41 -04:00
parent a7299c3f0f
commit db28a52c78

View File

@ -246,7 +246,7 @@ private:
// fieldsep ::= `,' | `;'
AstExpr* parseTableConstructor();
// TODO: Add grammar rules here?
// ifelseexp ::= `if' exp `then' exp {`elseif' exp `then' exp} `else' exp
AstExpr* parseIfElseExpr();
// stringinterp ::= <INTERP_BEGIN> exp {<INTERP_MID> exp} <INTERP_END>