Fixed some minor problems

This commit is contained in:
ceriel 1993-11-12 16:59:06 +00:00
parent a4a2ae8f96
commit 49f8a5a61b
2 changed files with 5 additions and 3 deletions

View file

@ -36,7 +36,7 @@ char *instr;
{
if ( nr_instr == quantum) {
quantum *= 2;
as_instructions = (char **) Realloc( as_instructions,
as_instructions = (char **) Realloc( (char *) as_instructions,
quantum*sizeof( char *));
}

View file

@ -44,10 +44,12 @@ int CALL_pos = FALSE; /* Needed to distinguish between
*/
static char skip_space();
static read_string();
int mylex()
{
char c, skip_space();
char c;
static int special = FALSE; /* rule with conditions + default ? */
@ -188,7 +190,7 @@ int arrow() /* '==>' */
int _default() /* 'default' */
{
char c, skip_space();
char c;
if ( ( *next++ = scanc()) == 'e')
if ( ( *next++ = scanc()) == 'f')