While trying to run install.rb under both ruby 1.6.6
and ruby 1.7.2 (CVS), the bootstrap fails with a parse
error:
galendril pts/3 [~/hatch/ruby-modules/rockit-0-3-8]
215/715 {0}$ ruby install.rb
Bootstrapping! This will take some time. Please be patient.
/usr/lib/ruby/site_ruby/resultcache.rb:5: warning:
already initialized constant BoundedLruCache
Boostrapping by generating parser from handcoded grammar
Normalizing grammar (0.11 s 100.00%)
Calculating states (0.04 s 40.20%)
Calculating lalr1_lookaheads (0.08 s 100.00%)
(0.25 s 100.00%)
Parsing rockit-grammar.grammar./glr_parser.rb:106:in
`handle_parse_error': No valid token found on stacks:
(ParseException)
stack 0: on line:
' ' Grammar for rockit grammars, version 0.5.1
^
|
--- Parse error!!
in state 0
the lexer returns tokens = [LT("Grammar", SymbolName),
LT("Grammar", StrToken133007101), LT("Grammar",
RegexpToken538185420)] (["#<Token:0x403b6588>",
"538793604 Grammar \"StrToken133007101\" 370999650",
"#<RegexpToken:0x403aab58>"])
and the valid tokens = []
from ./glr_parser.rb:78:in `parse'
from ./rockit.rb:45:in
`generate_parser_from_file_to_file'
from ./rockit.rb:44:in `call'
from ./base_extensions.rb:62:in `time_and_puts'
from ./rockit.rb:44:in
`generate_parser_from_file_to_file'
from bootstrap.rb:117
chmod 0755 /usr/lib/ruby/site_ruby/rockit
Installing library files
Installing executable
Nobody/Anonymous
None
None
Public
|
Date: 2002-12-02 18:42 Logged In: YES |
|
Date: 2002-02-16 00:40 Logged In: YES |