Sha256: ce1711159dee313a1ecc72b9ff08f60d02f18daa3b19253f06df61ea2980085b
Contents?: true
Size: 559 Bytes
Versions: 15
Compression:
Stored size: 559 Bytes
Contents
# coding: utf-8 # Treetop (http://treetop.rubyforge.org/) grammar for statement for declaring # package definition versions. # # Needs to be mixed in with Fig::Grammar::Base. require 'treetop' module Fig module Grammar grammar Version rule grammar_version statement_start:'grammar' ws_or_comment+ 'v' version:[\d]+ ws* { def to_package_statement(build_state) return build_state.new_grammar_version_statement( statement_start, version ) end } end end end end
Version data entries
15 entries across 15 versions & 1 rubygems