From 6e93320c1b5ee25331ffc300beb5f14f2630403f Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 14 Jun 2023 12:56:34 +0900 Subject: Update RDoc::RD parsers generated by racc-1.7.1 --- lib/rdoc/rd/block_parser.rb | 10 +++++----- lib/rdoc/rd/inline_parser.rb | 30 ++++++++++++++++++++++++++---- 2 files changed, 31 insertions(+), 9 deletions(-) diff --git a/lib/rdoc/rd/block_parser.rb b/lib/rdoc/rd/block_parser.rb index d33f4bda75..aa1c6f6227 100644 --- a/lib/rdoc/rd/block_parser.rb +++ b/lib/rdoc/rd/block_parser.rb @@ -1,13 +1,13 @@ # frozen_string_literal: true # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.7.0 +# This file is automatically generated by Racc 1.7.1 # from Racc grammar file "". # ###### racc/parser.rb begin -unless $".index 'racc/parser.rb' -$".push 'racc/parser.rb' +unless $".find {|p| p.end_with?('/racc/parser.rb')} +$".push "#{__dir__}/racc/parser.rb" # frozen_string_literal: false #-- # Copyright (c) 1999-2006 Minero Aoki @@ -21,7 +21,7 @@ $".push 'racc/parser.rb' #++ unless $".find {|p| p.end_with?('/racc/info.rb')} -$".push 'racc/info.rb' +$".push "#{__dir__}/racc/info.rb" #-- # # @@ -35,7 +35,7 @@ $".push 'racc/info.rb' #++ module Racc - VERSION = '1.6.2' + VERSION = '1.7.1' Version = VERSION Copyright = 'Copyright (c) 1999-2006 Minero Aoki' end diff --git a/lib/rdoc/rd/inline_parser.rb b/lib/rdoc/rd/inline_parser.rb index 31076ab62a..d454cb52fd 100644 --- a/lib/rdoc/rd/inline_parser.rb +++ b/lib/rdoc/rd/inline_parser.rb @@ -1,12 +1,13 @@ +# frozen_string_literal: true # # DO NOT MODIFY!!!! -# This file is automatically generated by Racc 1.6.2 +# This file is automatically generated by Racc 1.7.1 # from Racc grammar file "". # ###### racc/parser.rb begin -unless $".index 'racc/parser.rb' -$".push 'racc/parser.rb' +unless $".find {|p| p.end_with?('/racc/parser.rb')} +$".push "#{__dir__}/racc/parser.rb" # frozen_string_literal: false #-- # Copyright (c) 1999-2006 Minero Aoki @@ -19,7 +20,28 @@ $".push 'racc/parser.rb' # without restriction. #++ -require 'racc/info' +unless $".find {|p| p.end_with?('/racc/info.rb')} +$".push "#{__dir__}/racc/info.rb" +#-- +# +# +# +# Copyright (c) 1999-2006 Minero Aoki +# +# This program is free software. +# You can distribute/modify this program under the same terms of ruby. +# see the file "COPYING". +# +#++ + +module Racc + VERSION = '1.7.1' + Version = VERSION + Copyright = 'Copyright (c) 1999-2006 Minero Aoki' +end + +end + unless defined?(NotImplementedError) NotImplementedError = NotImplementError # :nodoc: -- cgit v1.2.3