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

Multi-line init loc() statements not allowed in .cfg #39

Open
stanleybak opened this issue Sep 26, 2016 · 0 comments
Open

Multi-line init loc() statements not allowed in .cfg #39

stanleybak opened this issue Sep 26, 2016 · 0 comments

Comments

@stanleybak
Copy link
Contributor

stanleybak commented Sep 26, 2016

SpaceEx is pretty lenient, allowing multi-line init states. We should either parse this correctly or print a better error ("the mismatched quotes on the first line could be a giveaway.").

initially = "loc(CM1_1)==waiting & loc(CM2_1)==waiting & loc(SM1_1)==work & loc(SM2_1)==work & loc(SM3_1)==work & 
loc(SM4_1)==work & loc(SM5_1)==work & loc(SM6_1)==work & loc(SM7_1)==work & 
loc(SM8_1)==work & loc(SM9_1)==work &
loc(Resetter_1)==pre & loc(Time_1)==timing & x_CM1==0 &
CM1 ==0 & CM2 ==0 & SM3_x==0 & t==0 & max_drift ==0.001 & delay == 20 &-max_drift <=drift<=max_drift "
forbidden = "SM3_x >= SM3_x + 2*max_drift"
@stanleybak stanleybak changed the title Multi-line loc states not allowed Multi-line init loc() statements not allowed in .cfg Sep 26, 2016
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