From 643b7ef94bdf507def6cb92575c1af73ba5d691f Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sun, 18 Dec 2016 14:14:21 -0800 Subject: parser: example parses files, not just models --- modelica-parser-lalrpop/examples/parse_file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modelica-parser-lalrpop') diff --git a/modelica-parser-lalrpop/examples/parse_file.rs b/modelica-parser-lalrpop/examples/parse_file.rs index 1eb4e65..b3d6913 100644 --- a/modelica-parser-lalrpop/examples/parse_file.rs +++ b/modelica-parser-lalrpop/examples/parse_file.rs @@ -24,7 +24,7 @@ fn main() { continue; } - let result = modelica_parser::parser::parse_model(&s); + let result = modelica_parser::parser::parse_file(&s); match result { Ok(_) => println!("=== {}: OK", input), -- cgit v1.2.3