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

Arduino export should ensure exported expression/sequence is given valid name #186

Open
GoogleCodeExporter opened this issue Mar 17, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

Tom sez...

I did an ASSET training on Duo today and we did the export to Arduino, which 
worked well. I found one minor bug - apparently the Arduino compiler chokes on 
functions that start with a number. So we had someone create expressions called 
72move and 144move and it blew up. I changed them to move72 and move144 and it 
was happy. 

Pretty minor, but wanted to let you know - easy fix seems to be to check if the 
first character of a function is a number. If it is, we prepend a letter to it.
--------------------------

Look up the naming rules for Arduino code, make sure our exported names conform.

Original issue reported on code.google.com by [email protected] on 8 Jan 2015 at 10:41

@GoogleCodeExporter
Copy link
Author

Original comment by [email protected] on 17 Jan 2015 at 3:27

@GoogleCodeExporter
Copy link
Author

See issue 188 for more details.

Original comment by [email protected] on 17 Jan 2015 at 3:28

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

No branches or pull requests

1 participant