Commits

Georg Brandl committed 70525d4

Closes #760: fix highlighting of e.g. "$-16" in GAS.

  • Participants
  • Parent commits d1f0fb8

Comments (0)

Files changed (1)

File pygments/lexers/asm.py

 
     #: optional Comment or Whitespace
     string = r'"(\\"|[^"])*"'
-    char = r'[a-zA-Z$._0-9@]'
+    char = r'[a-zA-Z$._0-9@-]'
     identifier = r'(?:[a-zA-Z$_]' + char + '*|\.' + char + '+)'
     number = r'(?:0[xX][a-zA-Z0-9]+|\d+)'