about summary refs log tree commit diff
path: root/users/tazjin/rlox/src/errors.rs
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-12-06T14·28+0100
committertazjin <mail@tazj.in>2020-12-06T14·30+0000
commit4812fc2ee64536502093da04ea8a0efe616ffb26 (patch)
treef3ab8b51912b47c59398e66e485afcf7788e22f2 /users/tazjin/rlox/src/errors.rs
parent28002fcea50c028bcd136f321d3bbad6f141b212 (diff)
feat(tazjin/rlox): Implement parsing of parenthesised expressions r/1989
Change-Id: I0e6bd71fd787b719104ef93fc52df4090dc415b9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2234
Reviewed-by: tazjin <mail@tazj.in>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/rlox/src/errors.rs')
-rw-r--r--users/tazjin/rlox/src/errors.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/tazjin/rlox/src/errors.rs b/users/tazjin/rlox/src/errors.rs
index bab3f4667a74..6bd922bc6c5e 100644
--- a/users/tazjin/rlox/src/errors.rs
+++ b/users/tazjin/rlox/src/errors.rs
@@ -2,6 +2,7 @@
 pub enum ErrorKind {
     UnexpectedChar(char),
     UnterminatedString,
+    UnmatchedParens,
 }
 
 #[derive(Debug)]