diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-12-18 14:14:21 -0800 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-12-18 14:14:21 -0800 |
commit | 643b7ef94bdf507def6cb92575c1af73ba5d691f (patch) | |
tree | 829a92884988d48ea5c891f323f4372db99fc0e1 /modelica-parser-lalrpop | |
parent | a142e057162499db0df37e8abf5e515c6e297a04 (diff) | |
download | modelthing-643b7ef94bdf507def6cb92575c1af73ba5d691f.tar.gz modelthing-643b7ef94bdf507def6cb92575c1af73ba5d691f.zip |
parser: example parses files, not just models
Diffstat (limited to 'modelica-parser-lalrpop')
-rw-r--r-- | modelica-parser-lalrpop/examples/parse_file.rs | 2 |
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 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), |