doughlang: "fix" semi elision, add "fully qualified" paths, add proper pattern prec parsing.

This actually gets some old code parsing!
This commit is contained in:
2025-10-16 05:49:02 -04:00
parent 03d9682409
commit 1998558468
5 changed files with 314 additions and 172 deletions

View File

@@ -119,7 +119,7 @@ fn pats() -> Result<(), Box<dyn Error>> {
return Ok(Response::Break);
}
loop {
match parser.parse::<Pat>(PPrec::Max) {
match parser.parse::<Pat>(PPrec::Min) {
Err(ParseError::FromLexer(LexError { res: "EOF", .. })) => {
break Ok(Response::Accept);
}