lib/rouge/lexers/sqf.rb in rouge-3.18.0 vs lib/rouge/lexers/sqf.rb in rouge-3.19.0
- old
+ new
@@ -53,11 +53,11 @@
diag_recordturretlimits diag_setlightnew diag_ticktime diag_toggle
)
end
def self.commands
- load File.join(Lexers::BASE_DIR, "sqf/commands.rb")
- @commands = self.commands
+ Kernel::load File.join(Lexers::BASE_DIR, "sqf/keywords.rb")
+ commands
end
state :root do
# Whitespace
rule %r"\s+", Text