anilgkts / arduino

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

IDE don't check if /* are text or real comment #896

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Take the Ethernet WebClient example
2. Add : client.println("Accept: */*"); after the http GET
3. Enjoy the "Missing the */ from the end of a /* comment */
" error in console

What is the expected output? What do you see instead?
Should not see any error because /* is text and not a comment
Instead the IDE drop error immediately, before any compilation

What version of the Arduino software are you using? On what operating
system?  Which Arduino board are you using?
Arduino UNO + Ethernet shield W5100 (official)
Arduino IDE 1.0 (same bug in 0023)

Please provide any additional information below.
Crappy fix :
(code with /* in) // */

Original issue reported on code.google.com by skywodd on 23 Apr 2012 at 7:15

GoogleCodeExporter commented 9 years ago
Duplicate of Issue 817

Original comment by simon.sm...@gtempaccount.com on 21 Aug 2012 at 7:41

GoogleCodeExporter commented 9 years ago

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