lib/rouge/lexers/hack.rb in rouge-3.4.1 vs lib/rouge/lexers/hack.rb in rouge-3.5.0

- old
+ new

@@ -31,10 +31,10 @@ arraykey num Stringish ) end prepend :template do - rule /<\?hh(\s*\/\/\s*(strict|decl|partial))?$/, Comment::Preproc, :php + rule %r/<\?hh(\s*\/\/\s*(strict|decl|partial))?$/, Comment::Preproc, :php end prepend :php do rule %r((/\*\s*)(HH_(?:IGNORE_ERROR|FIXME)\[\d+\])([^*]*)(\*/)) do groups Comment::Preproc, Comment::Preproc, Comment::Multiline, Comment::Preproc