diff options
author | bnewbold <bnewbold@robocracy.org> | 2016-12-17 22:44:45 -0800 |
---|---|---|
committer | bnewbold <bnewbold@robocracy.org> | 2016-12-17 22:44:45 -0800 |
commit | c8ddcd6248fd9cfea450b2fc52587b8179c0a0f8 (patch) | |
tree | 8ec96ed064f6ad31d6826bf0c7510fba3f8bdfe8 /modelica-parser-lalrpop | |
parent | 2e634496a6f362017d8f5f643d4ad30a3507dff9 (diff) | |
download | modelthing-c8ddcd6248fd9cfea450b2fc52587b8179c0a0f8.tar.gz modelthing-c8ddcd6248fd9cfea450b2fc52587b8179c0a0f8.zip |
modelica-parser tests TODO
Diffstat (limited to 'modelica-parser-lalrpop')
-rw-r--r-- | modelica-parser-lalrpop/tests/parser.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/modelica-parser-lalrpop/tests/parser.rs b/modelica-parser-lalrpop/tests/parser.rs index f5f493a..1a0f46f 100644 --- a/modelica-parser-lalrpop/tests/parser.rs +++ b/modelica-parser-lalrpop/tests/parser.rs @@ -38,3 +38,10 @@ end MinimalModel; "#; assert_eq!(&format!("{:?}", parse_model(example2).unwrap()), example2); } + +// TODO: the following are illegal in Modelica +// 2*-2 = -4 +// --2 = 2 +// ++2 = 2 +// 2--2 = 4 +// x^y^z (needs parens) |