refactor(tazjin/rlox): Add helper method for parsing identifiers

Change-Id: I9a45f823f16919319d6135225d5bd53ed54c2530
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2388
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2021-01-14 04:50:28 +03:00 committed by tazjin
parent fcd9801b01
commit 8bcbb04160
2 changed files with 19 additions and 16 deletions

View file

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