aboutsummaryrefslogtreecommitdiffstats
path: root/lib/racc
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-07-19 11:22:21 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-07-19 11:54:35 +0900
commit7217f60bb344d2e97fb6bf3ae6cf29c7f5ca7dbf (patch)
tree2cb7970b8c7cbe08261b8f30937dd9e87f32efbd /lib/racc
parentab2bd3ff35176031965613abfeb06a9c47e9eee1 (diff)
downloadruby-7217f60bb344d2e97fb6bf3ae6cf29c7f5ca7dbf.tar.gz
[ruby/racc] Removed generate code from parser.rb. It's already migrated by rake task
https://github.com/ruby/racc/commit/ec7d01980a
Diffstat (limited to 'lib/racc')
-rw-r--r--lib/racc/pre-setup13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/racc/pre-setup b/lib/racc/pre-setup
deleted file mode 100644
index 5027d865b7..0000000000
--- a/lib/racc/pre-setup
+++ /dev/null
@@ -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'