mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-09 13:16:44 +01:00
try to fix top level expr parsing by trimming the opening bracket
This commit is contained in:
parent
9756862091
commit
67148a4aa4
2 changed files with 5 additions and 2 deletions
|
|
@ -91,7 +91,7 @@ pub(crate) use std::fmt::{Debug, Display, Formatter, Result as FormatResult, Err
|
|||
source: src,
|
||||
start: 0,
|
||||
length: src.len(),
|
||||
value: Exp(0, TokenIter(src))
|
||||
value: Exp(0, TokenIter(&src[1..]))
|
||||
}));
|
||||
//panic!("{view:?}");
|
||||
//panic!("{:#?}", expr);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue