deblondon / google-code-prettify

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

[PATCH] C types too loose #201

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. The attached html reproduces the problem. It should be placed in tests/ (its 
paths are relative).
(Please include HTML, not just your source code)

What is the expected output?  What do you see instead?
It is expected that "list" of "listeners" is not colored as a C type. 

What version are you using?  On what browser?
svn r218
Mac OS X Chrome 18.0.1025.151

Please provide any additional information below.
One way to fix this is to add a word boundary to the C type regex (patch 
attached).

Original issue reported on code.google.com by matthew....@gmail.com on 7 Apr 2012 at 8:18

Attachments:

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r219.

Original comment by mikesamuel@gmail.com on 7 Apr 2012 at 9:01