mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-21 10:32:08 +00:00
Fixed printf() warnings in a02.c
This commit is contained in:
parent
14b689dc69
commit
62430453cc
3
a02.c
3
a02.c
@ -61,7 +61,7 @@ FILE *incfil; //Include File Pointer
|
||||
|
||||
/* Print Usage Info and Exit */
|
||||
void usage(char* appnam) {
|
||||
printf("Usage: %s [opts] asmfile objfile [lstfile]\n");
|
||||
printf("Usage: %s [opts] asmfile objfile [lstfile]\n", appnam);
|
||||
printf(" Opts: -p - Commodore PRG format\n");
|
||||
printf(" -d - Output Debug Info\n");
|
||||
exit(EXIT_FAILURE);
|
||||
@ -390,7 +390,6 @@ void asminf(void) {
|
||||
if (debug) puts("Assembling INCLUDE Pseudo-Op");
|
||||
if (incfil) xerror("Nested INCLUDE not Allowed", "");
|
||||
if (!cpychr('"')) xerror("File Name Must be Quoted", "");
|
||||
printf("%d: '%p'\n", linptr, *linptr);
|
||||
while (*linptr && !cpychr('"')) {
|
||||
char c = *linptr; if (c == '/') c = '\\'; //Reverse Slashes for DOS/Windows
|
||||
incnam[incidx++] = c;
|
||||
|
Loading…
Reference in New Issue
Block a user