[parser] Clean up some syntax and warnings
This commit is contained in:
parent
976675027f
commit
1ff349e147
4 changed files with 9 additions and 9 deletions
|
@ -27,6 +27,6 @@ impl NodeParser for SymParser {
|
|||
|
||||
fn none(&mut self) -> NodeParseResult {
|
||||
let msg = format!("Expected symbol, found EOF");
|
||||
NodeParseResult::Error { msg }
|
||||
NodeParseResult::error(msg)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue