Typo/comment fixes.

This commit is contained in:
Olaf Seibert
2021-01-31 17:49:20 +01:00
parent 63fbbee2a5
commit b6d49ec467
2 changed files with 3 additions and 3 deletions

View File

@@ -1595,7 +1595,7 @@ static int assemble(
return CHECK_EOL; return CHECK_EOL;
case OC_1REG: case OC_1REG:
/* One register (RTS) */ { /* One register (RTS,FADD,FSUB,FMUL,FDIV,SPL) */ {
EX_TREE *value; EX_TREE *value;
unsigned reg; unsigned reg;

View File

@@ -715,13 +715,13 @@ int main(
outfile = argv[arg]; outfile = argv[arg];
} }
else { else {
fprintf(stderr, "Extra paraeter %s\n", argv[arg]); fprintf(stderr, "Extra parameter %s\n", argv[arg]);
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
} }
if (infile == 0) { if (infile == 0) {
fprintf(stderr, "Usage: [ -rt11 ] [ -rsx ] dumpobj input.obj [ output.obj ]\n"); fprintf(stderr, "Usage: dumpobj [ -rt11 ] [ -rsx ] input.obj [ output.obj ]\n");
exit(1); exit(1);
} }