1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-02-13 13:28:27 +02:00

Removed # as a comment character

This commit is contained in:
Dustin Heestand 2019-05-01 12:35:19 -05:00 committed by Alec Thomas
parent 1327f9145e
commit 4a43fbd1ec

View File

@ -15,7 +15,6 @@ var Prolog = internal.Register(MustNewLexer(
},
Rules{
"root": {
{`^#.*`, CommentSingle, nil},
{`/\*`, CommentMultiline, Push("nested-comment")},
{`%.*`, CommentSingle, nil},
{`0\'.`, LiteralStringChar, nil},