zzyengineer / google-code-prettify

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

C Syntax Highlighting is inconsistent #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Please visit http://code.google.com/p/lacs/wiki/CodingStyleGuide
2. Observe that syntax highlighting is particularly busted in the "Source
File" section.

What is the expected output?  What do you see instead?

My expectation is to see keywords, variables, comment blocks, etc. to be
highlighted consistently.  For example, in the "Header File" section
multi-line comment blocks seem to be fine, but in the "Source File" section
they are not consistent.

What version are you using?  On what browser?

The current Google Code wiki version, as of March 2009.
Browser is Firefox 3.0.7.

If I haven't provided sufficient details, please advise.

Original issue reported on code.google.com by glenn.mc...@gmail.com on 9 Mar 2009 at 11:08

GoogleCodeExporter commented 9 years ago
'/*' after a preprocessor directive is not treated as opening a line comment as 
in
    #include <stdint.h>     /* 

Original comment by mikesamuel@gmail.com on 9 Mar 2009 at 11:29

GoogleCodeExporter commented 9 years ago
OK, I'll update the page to work around the problem for now.  Thanks for the 
fast response.

Original comment by glenn.mc...@gmail.com on 10 Mar 2009 at 12:04

GoogleCodeExporter commented 9 years ago

Original comment by mikesamuel@gmail.com on 19 May 2009 at 4:46

GoogleCodeExporter commented 9 years ago
Fixed at revision 74.  I will include this when I push a new minified version 
soonish

Original comment by mikesamuel@gmail.com on 19 May 2009 at 4:57