/* Lookup the number associated with character class. */
extern int ccllookup(char[]);
-extern void ndinstal(const char *, unsigned char[]); /* install a name definition */
+extern void ndinstal(const char *, char[]); /* install a name definition */
extern unsigned char *ndlookup(const char *); /* lookup a name definition */
/* Increase maximum number of SC's. */
int doing_codeblock = false;
int i, brace_depth=0, brace_start_line=0;
- unsigned char nmdef[MAXLINE];
+ char nmdef[MAXLINE];
<INITIAL>{
{NOT_WS}[^\r\n]* {
if(yyleng < MAXLINE)
{
- strcpy( (char *) nmdef, yytext );
+ strcpy( nmdef, yytext );
}
else
{
FLEX_EXIT(EXIT_FAILURE);
}
/* Skip trailing whitespace. */
- for ( i = strlen( (char *) nmdef ) - 1;
+ for ( i = strlen( nmdef ) - 1;
i >= 0 && (nmdef[i] == ' ' || nmdef[i] == '\t');
--i )
;
/* ndinstal - install a name definition */
-void ndinstal (const char *name, unsigned char definition[])
+void ndinstal (const char *name, char definition[])
{
if (addsym (xstrdup(name),