Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
Cypher1 committed May 6, 2024
1 parent c5bd567 commit d1ebe0e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions takolib/src/parser/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -476,6 +476,7 @@ impl<'src, 'toks, T: Iterator<Item = &'toks Token>> ParseState<'src, 'toks, T> {
let location = token.location();
trace!("Expr: {token:?} (binding {binding:?})");
let mut left = if self.operator_is(Symbol::OpenBracket).is_ok() {
// TODO: Support empty list...
// TODO: Support sequence&dictionary syntax.
// Tuple, parenthesized expr... etc.
let mut left = self.expr(Symbol::OpenParen)?;
Expand All @@ -501,6 +502,7 @@ impl<'src, 'toks, T: Iterator<Item = &'toks Token>> ParseState<'src, 'toks, T> {
}
left
} else if self.operator_is(Symbol::OpenCurly).is_ok() {
// TODO: Support empty set/dict...
// TODO: Support sequence&dictionary syntax.
// Tuple, parenthesized expr... etc.
let mut left = self.expr(Symbol::OpenParen)?;
Expand Down

0 comments on commit d1ebe0e

Please sign in to comment.