Procházet zdrojové kódy

Make crater be quiet when assembling/disassembling is successful.

master
Ben Kurtovic před 9 roky
rodič
revize
1d6f832864
2 změnil soubory, kde provedl 1 přidání a 3 odebrání
  1. +0
    -3
      crater.c
  2. +1
    -0
      src/assembler.c

+ 0
- 3
crater.c Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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;


Načítá se…
Zrušit
Uložit