lib/rouge/lexers/q.rb in rouge-2.2.1 vs lib/rouge/lexers/q.rb in rouge-3.0.0
- old
+ new
@@ -30,13 +30,9 @@
read0 read1 reciprocal reverse rload rotate rsave rtrim save sdev show signum sin sqrt ssr sums svar system
tables tan til trim txf ungroup var view views wj wj1 ww
]
end
- def self.analyze_text(text)
- return 0
- end
-
state :root do
# q allows a file to start with a shebang
rule /#!(.*?)$/, Comment::Preproc, :top
rule //, Text, :top
end