1
0
mirror of https://github.com/safiire/n65.git synced 2024-06-09 23:29:53 +00:00

Disabled writing the symbol table to a file, as it is not usually nessessary

This commit is contained in:
Safiire 2015-03-27 16:36:11 -07:00
parent 7e5cf3ca48
commit 2736408a14

View File

@ -36,12 +36,13 @@ module Assembler6502
assembler.fulfill_promises
puts " Done."
## Let's export the symbol table to a file
print "Writing symbol table to #{outfile}.yaml..."
File.open("#{outfile}.yaml", 'w') do |fp|
fp.write(assembler.symbol_table.export_to_yaml)
end
puts "Done."
## Let's not export the symbol table to a file anymore
## Will add an option for this later.
#print "Writing symbol table to #{outfile}.yaml..."
#File.open("#{outfile}.yaml", 'w') do |fp|
#fp.write(assembler.symbol_table.export_to_yaml)
#end
#puts "Done."
## For right now, let's just emit the first prog bank
File.open(outfile, 'w') do |fp|