lib/lrama/options.rb in lrama-0.6.11 vs lib/lrama/options.rb in lrama-0.7.0
- old
+ new
@@ -5,13 +5,14 @@
class Options
attr_accessor :skeleton, :header, :header_file,
:report_file, :outfile,
:error_recovery, :grammar_file,
:trace_opts, :report_opts,
- :diagnostic, :y, :debug
+ :diagnostic, :y, :debug, :define
def initialize
@skeleton = "bison/yacc.c"
+ @define = {}
@header = false
@header_file = nil
@report_file = nil
@outfile = "y.tab.c"
@error_recovery = false