We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3d475dd commit d050a36Copy full SHA for d050a36
lib/rouge/lexers/dylan.rb
@@ -24,7 +24,7 @@ class Dylan < RegexLexer
24
operators = Set.new %w(+ - * / ^ = == ~ ~= ~== < <= > >= & | :=)
25
26
state :root do
27
- rule %r/^[\w-]+:/, Comment::Preproc, :header
+ rule %r/^[\w.-]+:/, Comment::Preproc, :header
28
rule %r/\s+/, Text::Whitespace
29
rule(%r//) { goto :main }
30
end
@@ -71,7 +71,6 @@ class Dylan < RegexLexer
71
rule %r/#x[0-9a-f]+/i, Literal::Number::Hex
72
73
# Names
74
- rule %r/[-\w\d\.]+:/, Name::Tag
75
rule %r/[-]/, Operator
76
77
# Operators and punctuation
0 commit comments