blob: 739ca16f5598f98318fb9c567601e77c21634881 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
module Lrama
# Command line options.
class Options
attr_accessor :skeleton, :header, :header_file,
:report_file, :outfile,
:error_recovery, :grammar_file,
:trace_opts, :report_opts, :y,
:debug
def initialize
@skeleton = "bison/yacc.c"
@header = false
@header_file = nil
@report_file = nil
@outfile = "y.tab.c"
@error_recovery = false
@grammar_file = nil
@trace_opts = nil
@report_opts = nil
@y = STDIN
@debug = false
end
end
end
|