Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I found that if there are more than two elses that are not used, an error will be reported. #125

Open
mryao199 opened this issue Jul 17, 2024 · 0 comments

Comments

@mryao199
Copy link

vi test.txt
mode: test
zoom: zoom1,zoom2,zoom3,zoom4
IF [water] IN {"water1", "water2"}
THEN [water_a] = "NA"
ELSE [water_m] <> "NAm";
IF [action] = "action1" OR [action] = "action2"
THEN [high_i] = "NAi"
ELSE [high_e] <> "NAe";
wq
pict.exe test.txt
error info
Constraints Warning: Constraint IF [water] IN {"water1", "water2"}THEN [water_a] = "NA" ELSE [water_m] <> "NAm"; contains unknown parameter. Skipping...
Constraints Warning: Constraint IF [action] = "action1" OR [action] = "action2"THEN [high_i] = "NAi" ELSE [high_e] <> "NAe"; contains unknown parameter. Skipping...
Constraints Warning: Constraint ; contains unknown parameter. Skipping...

I found that if there are more than two elses that are not used, an error will be reported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant