lib/rouge/lexers/ghc_cmm.rb in rouge-4.0.1 vs lib/rouge/lexers/ghc_cmm.rb in rouge-4.1.0
- old
+ new
@@ -20,10 +20,10 @@
aliases 'cmm'
ws = %r(\s|//.*?\n|/[*](?:[^*]|(?:[*][^/]))*[*]+/)mx
# Make sure that this is not a preprocessor macro, e.g. `#if` or `#define`.
- id = %r((?!#[a-zA-Z])[\w#\$%_']+)
+ id = %r((?!\#[a-zA-Z])[\w#\$%_']+)
complex_id = %r(
(?:[\w#$%_']|\(\)|\(,\)|\[\]|[0-9])*
(?:[\w#$%_']+)
)mx