feat(tazjin/rlox): Parse if statements

Change-Id: I2352d75a3f02d65a5a2d04fb2cc4daa50f11ca1e
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2321
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
This commit is contained in:
Vincent Ambo 2021-01-03 18:26:26 +03:00 committed by tazjin
parent 27a73171cf
commit a89777b34f
3 changed files with 45 additions and 1 deletions

View file

@ -7,6 +7,7 @@ pub enum ErrorKind {
ExpectedSemicolon,
ExpectedClosingBrace,
ExpectedVariableName,
ExpectedToken(&'static str),
TypeError(String),
UndefinedVariable(String),
InternalError(String),