[parser] Clean up some syntax and warnings

This commit is contained in:
Eryn Wells 2018-08-24 08:33:06 -07:00
parent 976675027f
commit 1ff349e147
4 changed files with 9 additions and 9 deletions

View file

@ -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)
}
}