Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
3
-
Description
The syntax highlighting in the bitbucket web interface (looking at the "source view" tab) seems to have problems with string parsing. For an example the line in question looks like this:
case '"':
and everything after the first quote is highlighted as if it is contained inside a string literal.
It seems clear that this is a parsing error — it is treating the double quote (which is itself inside a single quote) as the beginning of some element (likely a string literal) which then doesn't end even though it crosses over several different code elements. (I would expect the highlighting for later `case`s to match that of the first `case`.)