Skip to content

Commit

Permalink
Modified the generate_kwargs_lib.rb script so that it remembers
Browse files Browse the repository at this point in the history
the previous warning level the user had set instead of just assuming
that warnings were turned on. [#8 state:resolved]
  • Loading branch information
lylejohnson committed Nov 9, 2009
1 parent 4e0495f commit ed77236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/generate_kwargs_lib.rb
Expand Up @@ -110,7 +110,7 @@ def generate_preamble(out)
out.puts <<-END
require 'fox16'
$VERBOSE = nil
old_verbose = $VERBOSE; $VERBOSE = nil
module Fox
Expand All @@ -132,7 +132,7 @@ def go(filenames, output_filename)
def generate_closing(out)
out.puts "end"
out.puts ""
out.puts "$VERBOSE = true"
out.puts "$VERBOSE = old_verbose"
end

def scan_for_descriptions(filename)
Expand Down

0 comments on commit ed77236

Please sign in to comment.