Skip to content

Commit

Permalink
add line count
Browse files Browse the repository at this point in the history
  • Loading branch information
mseminatore committed May 27, 2024
1 parent 74ac06a commit 25d3b21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion as09.tab.c
Original file line number Diff line number Diff line change
Expand Up @@ -4945,7 +4945,7 @@ int main(int argc, char *argv[])
else
write_file();

printf("\n%s assembled %d bytes to '%s'\n", APP_NAME, addr, g_szOutputFilename);
printf("%s assembled %d bytes, %d total lines of code to '%s'\n\n", APP_NAME, addr, lineno, g_szOutputFilename);
}

fclose(fout);
Expand Down
2 changes: 1 addition & 1 deletion as09.y
Original file line number Diff line number Diff line change
Expand Up @@ -1789,7 +1789,7 @@ int main(int argc, char *argv[])
else
write_file();

printf("\n%s assembled %d bytes to '%s'\n", APP_NAME, addr, g_szOutputFilename);
printf("%s assembled %d bytes, %d total lines of code to '%s'\n\n", APP_NAME, addr, lineno, g_szOutputFilename);
}

fclose(fout);
Expand Down

0 comments on commit 25d3b21

Please sign in to comment.