Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hello! I work with this project http://code.google.com/p/ardupilot
It's a Arduino based autopilot, and I have trouble with Verify/Compile for this project only in Stino.
I start investigation and find some bugs.
First, some .pde files in ArduPilot without line-ending in end of file. And such files incorrect concatenate with next file. I add '\n' for this in 197 line.
Secondary, is more hard.
General problem to create correct main .cpp file is that sometimes function don't add to function_list by genFunctionList(src_text)
It's happens because function removeCertainTypeText(src_text, 'multi-comment') in 66 line remove to many lines of code for this example:
-10 nav_roll = 300; // Set up a gentle bank
11 nav_pitch = 0;
12 }
21.
So, you can see that we have '//************' on first line, and '}/' in line 14
All of them can removed! Including 'void navigate()' and this function don't include to function list. In another places, I have similar problems.
So, if you first remove all single-comment by removeCertainTypeText(src_text, 'single-comment') and after them remove by removeCertainTypeText(src_text, 'multi-comment') all been fine.
I swap line 65 and 66 for correct removing comments and after them all problems disappear.
I think in 95 and 96 lines we can get something trouble but in 106/107 lines all correct already.
P.S: I am new in git_hub and this is my first pull-request :). Sorry for my bad english, it's not my native language