itdiy / google-code-prettify

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

Go back-quoted strings are not handled correctly #151

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The following line of Go code does not highlight correctly:

/* ` */  `foo /* `  /*/  */                                                     

According to

http://golang.org/doc/go_spec.html#Lexical_elements

we need to recognize back-quoted string literals of the form:

"`" { unicode_char } "`"

Original issue reported on code.google.com by dadk...@google.com on 24 May 2011 at 8:20

GoogleCodeExporter commented 9 years ago
Fixed at revision 180 : 
http://code.google.com/p/google-code-prettify/source/detail?r=180

Original comment by mikesamuel@gmail.com on 24 May 2011 at 8:40