Skip to content

Commit eb31940

Browse files
author
jneen
committed
use the word var
1 parent 5ecf609 commit eb31940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rouge/lexers/dylan.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class Dylan < RegexLexer
7979

8080
rule word_re do |m|
8181
word = m[0]
82-
if operators.include?(m[0])
82+
if operators.include?(word)
8383
token Operator
8484
elsif word.start_with?('<') && word.end_with?('>')
8585
token Name::Class

0 commit comments

Comments
 (0)