Anonymous user
Rosetta Code:Village Pump/Syntax highlighting: Difference between revisions
Rosetta Code:Village Pump/Syntax highlighting (view source)
Revision as of 21:46, 25 January 2010
, 14 years ago→OCaml syntax highlighting issues: parsers brackets highlighting
(→OCaml syntax highlighting issues: parsers brackets highlighting) |
|||
Line 644:
*)</lang>
just a suggestion, maybe an easy way to handle this would be to match <code>*) ... *)</code>?
</blockquote>
* The parser brackets ('''[<''' and '''>]''') should be completely highlighted:
<blockquote>
<lang ocaml>parser [< e = parse_expr; _ = Stream.empty >]</lang>
(here the character '''[''' is colored but not '''<''')
</blockquote>
|