Remove progname variable

The error message shouldn't specify the name of the binary, that's
supposed to be known by the caller.

Update test reference outputs.

Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
This commit is contained in:
Antonio Niño Díaz
2017-04-08 18:10:14 +01:00
parent 77546e9c58
commit 3d8396b86f
12 changed files with 11 additions and 29 deletions

View File

@@ -20,8 +20,6 @@ int cldefines_index;
int cldefines_size;
char **cldefines;
char *progname;
clock_t nStartClock, nEndClock;
SLONG nLineNo;
ULONG nTotalLines, nPass, nPC, nIFDepth, nErrors;
@@ -301,8 +299,6 @@ main(int argc, char *argv[])
if (argc == 1)
usage();
progname = "rgbasm";
/* yydebug=1; */
DefaultOptions.gbgfx[0] = '0';