lib/fonte/parsers/log.treetop in fonte-0.1.0 vs lib/fonte/parsers/log.treetop in fonte-0.2.0
- old
+ new
@@ -1,18 +1,13 @@
module Fonte
module Parsers
grammar Log
include Word
include Temporal
- include Rcon
include Action
rule entry
- "L" SPACE date_time ":" SPACE command "\n"?
- end
-
- rule command
- action / rcon_command
+ (!"L" .)* "L" SPACE date_time ":" SPACE command:action "\n"?
end
end
end
end