int otoi PROTO((Char []));
+void action_define( defname, value )
+char *defname;
+int value;
+ {
+ char buf[MAXLINE];
+
+ if ( strlen( defname ) > MAXLINE / 2 )
+ {
+ format_pinpoint_message( "name \"%s\" ridiculously long",
+ defname );
+ return;
+ }
+
+ sprintf( buf, "#define %s %d\n", defname, value );
+ add_action( buf );
+ }
+
+
void add_action( new_text )
char *new_text;
{
readable_form( c ) );
if ( c >= csize )
- lerrsf( "scanner requires -8 flag to use the character '%s'",
+ lerrsf( "scanner requires -8 flag to use the character %s",
readable_form( c ) );
}