aboutsummaryrefslogtreecommitdiffstats
path: root/modelica-parser-lalrpop/examples
diff options
context:
space:
mode:
Diffstat (limited to 'modelica-parser-lalrpop/examples')
-rw-r--r--modelica-parser-lalrpop/examples/parse_file.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/modelica-parser-lalrpop/examples/parse_file.rs b/modelica-parser-lalrpop/examples/parse_file.rs
index fe87ef0..bac22f1 100644
--- a/modelica-parser-lalrpop/examples/parse_file.rs
+++ b/modelica-parser-lalrpop/examples/parse_file.rs
@@ -25,7 +25,7 @@ fn main() {
}
let striped = modelica_parser::strip_comments(&raw);
- let result = modelica_parser::parser::parse_file(&striped);
+ let result = modelica_parser::parse_model(&striped);
match result {
Ok(_) => println!("=== {}: OK", input),