OpenIndiana and Solaris port
This commit is contained in:
committed by
Jon Trulson
parent
42e891d9e7
commit
01d6c363fa
@@ -71,5 +71,4 @@ while (TRUE)
|
||||
#include "case.c"
|
||||
if (m_token == ENDFILE) exit(FALSE) ;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -267,9 +267,9 @@ switch (newpar->type)
|
||||
ret = mbtowc(string, " ", 1);
|
||||
}
|
||||
}
|
||||
return ;
|
||||
}
|
||||
(void) ret;
|
||||
return;
|
||||
}
|
||||
|
||||
/* Called at end of parameter attribute list rule */
|
||||
|
||||
@@ -160,13 +160,13 @@ while (TRUE)
|
||||
char mbyte[32]; /* bigger than the biggest multibyte char */
|
||||
|
||||
ret = wctomb(mbyte, c);
|
||||
(void) ret;
|
||||
|
||||
fprintf(stderr, "\n'%s' (%d)", mbyte, c);
|
||||
fprintf(m_errfile, "\n'%s' (%d)", mbyte, c);
|
||||
m_error("Unexpected character");
|
||||
}
|
||||
} /* End while */
|
||||
(void) ret;
|
||||
} /* End scan */
|
||||
|
||||
#include "scanutil.c"
|
||||
|
||||
Reference in New Issue
Block a user