From: Aaron Patterson Date: 2009-09-11T00:50:41+09:00 Subject: [ruby-core:25517] Re: turning off indentation warnings On Sep 10, 2009, at 7:30 AM, Yukihiro Matsumoto wrote: > Hi, > > In message "Re: [ruby-core:25510] Re: turning off indentation > warnings" > on Thu, 10 Sep 2009 22:39:50 +0900, Nobuyoshi Nakada > writes: > > |At Mon, 7 Sep 2009 07:53:27 +0900, > |Aaron Patterson wrote in [ruby-core:25442]: > |> Is there a way in 1.9 to turn off only indentation warnings? I > like > |> to keep warnings turned on, but indentation warnings don't make > sense > |> when the output is generated, like with racc. > | > |Currently, nothing. How about magic comments? > > I am against magic comments. How about adding command line options, > e.g. -Wunused in gcc? I'm okay with a command line option as long as it is also tied to a global other than $-w. It would be nice to disable indentation warnings for *only* the generated file, not the rest of my code. --- Aaron Patterson http://tenderlovemaking.com