doddoreul / google-code-prettify

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

Scala source code with Symbol literals fails to detect literal termination #113

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Look here: http://code.google.com/p/orbroker/wiki/HelloWorld

What is the expected output?  What do you see instead?
I expect to see color coding terminated when the symbol literal ends. I see
that the lack of a terminating ' is interpreted as the literal continuing
until another ' is encountered.

What version are you using?  On what browser?
Current version on Firefox.

Please provide any additional information below.
Syntax is described on page 12 of the Scala Language Reference:
http://www.scala-lang.org/docu/files/ScalaReference.pdf

Original issue reported on code.google.com by nilskp on 9 Apr 2010 at 4:10

GoogleCodeExporter commented 8 years ago
Supposedly this syntax is derived from Lisp/Scheme, so this bug report would 
apply to
those languages too.

Original comment by nilskp on 9 Apr 2010 at 4:13

GoogleCodeExporter commented 8 years ago
Issue 121 has been merged into this issue.

Original comment by mikesamuel@gmail.com on 19 Jul 2010 at 12:51

GoogleCodeExporter commented 8 years ago
Added a scala mode at revision 108.
Please see 
http://google-code-prettify.googlecode.com/svn/trunk/tests/prettify_test.html#sc
ala

Original comment by mikesamuel@gmail.com on 21 Jul 2010 at 5:09

GoogleCodeExporter commented 8 years ago
Awesome. How long before it's rolled out on code.google.com?

Original comment by nilskp on 21 Jul 2010 at 5:32