Quellcode durchsuchen

Make crater be quiet when assembling/disassembling is successful.

master
Ben Kurtovic vor 9 Jahren
Ursprung
Commit
1d6f832864
2 geänderte Dateien mit 1 neuen und 3 gelöschten Zeilen
  1. +0
    -3
      crater.c
  2. +1
    -0
      src/assembler.c

+ 0
- 3
crater.c Datei anzeigen

@@ -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 Datei anzeigen

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


Laden…
Abbrechen
Speichern