Browse Source

Make crater be quiet when assembling/disassembling is successful.

master
Ben Kurtovic 9 years ago
parent
commit
1d6f832864
2 changed files with 1 additions and 3 deletions
  1. +0
    -3
      crater.c
  2. +1
    -0
      src/assembler.c

+ 0
- 3
crater.c View File

@@ -29,9 +29,6 @@ int main(int argc, char *argv[])
#endif

if (config->assemble || config->disassemble) {
printf("crater: running %s: %s -> %s\n",
config->assemble ? "assembler" : "disassembler",
config->src_path, config->dst_path);
if (config->assemble)
retval = assemble_file(config->src_path, config->dst_path);
else


+ 1
- 0
src/assembler.c View File

@@ -227,6 +227,7 @@ size_t assemble(const LineBuffer *source, uint8_t **binary_ptr, ErrorInfo **ei_p
*/
bool assemble_file(const char *src_path, const char *dst_path)
{
DEBUG("Assembling: %s -> %s", src_path, dst_path)
LineBuffer *source = read_source_file(src_path, true);
if (!source)
return false;


Loading…
Cancel
Save