nbell12 / google-code-prettify

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

C++ style comments don't work #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The following code doesn't prettyprint proper:

public static void main(String[] args) {
  // print the arguments
  System.out.println(Arrays.asList(args));
}

The problem is that the newline delimits the end of a comment, but
google-code-prettify doesn't catch it.

Original issue reported on code.google.com by limpbizkit on 3 Dec 2007 at 10:11

GoogleCodeExporter commented 8 years ago
Oh, there's a workaround. Use C-style comments:
  /* print the arguments */

Original comment by limpbizkit on 3 Dec 2007 at 10:11

GoogleCodeExporter commented 8 years ago
There are many examples of C++ style comments at
http://google-code-prettify.googlecode.com/svn/trunk/tests/prettify_test.html

Can you give me a specific example?

Original comment by mikesamuel@gmail.com on 23 Apr 2008 at 5:41

GoogleCodeExporter commented 8 years ago
Can't repeat.  Closing for lack of response.

Original comment by mikesamuel@gmail.com on 5 Jul 2008 at 3:54