zzyengineer / google-code-prettify

Automatically exported from code.google.com/p/google-code-prettify
Apache License 2.0
0 stars 0 forks source link

Issue in comments with escape characters. #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following fragment is shown as a comment for java.

\/*
Hello World.
*/

Where as it should not be a comment because of the presense of escape 
character.

Original issue reported on code.google.com by arifmd1...@gmail.com on 26 Dec 2008 at 1:18

GoogleCodeExporter commented 9 years ago
This is not a valid java program as reported by Sun's javac.

$ javac /tmp/Foo.java
/tmp/Foo.java:1: illegal character: \92
\/* hello */
^
/tmp/Foo.java:2: 'class' or 'interface' expected
^
2 errors

Original comment by mikesamuel@gmail.com on 6 Jan 2009 at 10:58