ruby-changes:58303
From: Seiei <ko1@a...>
Date: Fri, 18 Oct 2019 11:24:11 +0900 (JST)
Subject: [ruby-changes:58303] 5ca5529d22 (master): Fix warning of generated parser for nested module
https://git.ruby-lang.org/ruby.git/commit/?id=5ca5529d22 From 5ca5529d223ee962451685badc9e928ea87dbb44 Mon Sep 17 00:00:00 2001 From: Seiei Miyagi <hanachin@g...> Date: Fri, 18 Oct 2019 01:34:18 +0900 Subject: Fix warning of generated parser for nested module diff --git a/lib/racc/parserfilegenerator.rb b/lib/racc/parserfilegenerator.rb index f082144..35c6357 100644 --- a/lib/racc/parserfilegenerator.rb +++ b/lib/racc/parserfilegenerator.rb @@ -157,8 +157,8 @@ module Racc https://github.com/ruby/ruby/blob/trunk/lib/racc/parserfilegenerator.rb#L157 cref_pop indent; line "end \# class #{classid}" mods.reverse_each do |mod| - indent; line "end \# module #{mod}" cref_pop + indent; line "end \# module #{mod}" end end -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/