anilgkts / arduino

Automatically exported from code.google.com/p/arduino
Other
0 stars 0 forks source link

Comment /* */ parsing should ignore these sequences in string constants #817

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1 Use /* or */ in a string, eg Serial.println("Accept: */*");
2.Compile, and you'll see the error 
java.lang.RuntimeException: Missing the */ from the end of a /* comment */

What is the expected output? What do you see instead?
You would expect that the */ and /* sequences contained within strings would 
not be parsed as incomplete comments, however an error : 
java.lang.RuntimeException: Missing the */ from the end of a /* comment */ 
occurs and the compile fails.

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?  IDE v1.0, Windows 7 64bit, Arduino 
Uno compatible (Freetronics Ten or Uno clones)

Please provide any additional information below.

Original issue reported on code.google.com by GeoffPSt...@gmail.com on 15 Feb 2012 at 10:44

GoogleCodeExporter commented 9 years ago
Issue 896 has been merged into this issue.

Original comment by dmel...@gmail.com on 23 Aug 2012 at 3:18