Removed trailing \n from error_msg{,_and_die} messages.

This commit is contained in:
Matt Kraai
2001-01-31 19:00:21 +00:00
parent 63ec273245
commit dd19c69904
106 changed files with 612 additions and 610 deletions

View File

@ -14,14 +14,14 @@ static unsigned int pointer;
static void push(double a)
{
if (pointer >= (sizeof(stack) / sizeof(*stack)))
error_msg_and_die("stack overflow\n");
error_msg_and_die("stack overflow");
stack[pointer++] = a;
}
static double pop()
{
if (pointer == 0)
error_msg_and_die("stack underflow\n");
error_msg_and_die("stack underflow");
return stack[--pointer];
}
@ -120,7 +120,7 @@ static void stack_machine(const char *argument)
}
o++;
}
error_msg_and_die("%s: syntax error.\n", argument);
error_msg_and_die("%s: syntax error.", argument);
}
/* return pointer to next token in buffer and set *buffer to one char