mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/racc] Removed generate code from parser.rb. It's already migrated by rake task
https://github.com/ruby/racc/commit/ec7d01980a
This commit is contained in:
parent
ab2bd3ff35
commit
7217f60bb3
1 changed files with 0 additions and 13 deletions
|
@ -1,13 +0,0 @@
|
|||
def generate_parser_text_rb(target)
|
||||
return if File.exist?(srcfile(target))
|
||||
$stderr.puts "generating #{target}..."
|
||||
File.open(target, 'w') {|f|
|
||||
f.puts "module Racc"
|
||||
f.puts " PARSER_TEXT = <<'__end_of_file__'"
|
||||
f.puts File.read(srcfile('parser.rb'))
|
||||
f.puts "__end_of_file__"
|
||||
f.puts "end"
|
||||
}
|
||||
end
|
||||
|
||||
generate_parser_text_rb 'parser-text.rb'
|
Loading…
Reference in a new issue