lib/rouge/lexers/sqf.rb in rouge-3.13.0 vs lib/rouge/lexers/sqf.rb in rouge-3.14.0
- old
+ new
@@ -63,10 +63,10 @@
# Whitespace
rule %r"\s+", Text
# Preprocessor instructions
rule %r"/\*.*?\*/"m, Comment::Multiline
- rule %r"//.*\n", Comment::Single
+ rule %r"//.*", Comment::Single
rule %r"#(define|undef|if(n)?def|else|endif|include)", Comment::Preproc
rule %r"\\\r?\n", Comment::Preproc
rule %r"__(EVAL|EXEC|LINE__|FILE__)", Name::Builtin
# Literals