Skip to content

Commit

Permalink
Allow - in class names
Browse files Browse the repository at this point in the history
  • Loading branch information
rodjek committed Apr 18, 2012
1 parent e5b78cc commit 7b02b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion puppet_lexer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class PuppetLexer(RegexLexer):
],
'include': [
(r'\n', Text, '#pop'),
(r'[\w:]+', Name.Class),
(r'[\w:-]+', Name.Class),
include('value'),
(r'\s', Text),
],
Expand Down

0 comments on commit 7b02b06

Please sign in to comment.