VaKeR CYBER ARMY
Logo of a company Server : Apache
System : Linux host44.registrar-servers.com 4.18.0-513.18.1.lve.2.el8.x86_64 #1 SMP Sat Mar 30 15:36:11 UTC 2024 x86_64
User : vapecompany ( 2719)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /opt/alt/ruby27/share/ruby/racc/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/ruby27/share/ruby/racc/pre-setup
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'

VaKeR 2022