*/
%{
+#undef yywrap
+
#include "flexdef.h"
#include "parse.h"
#define CHECK_YYMORE(str) \
if ( all_lower( str ) ) \
yymore_used = true;
-
-#undef yywrap
%}
%x SECT2 SECT2PROLOG SECT3 CODEBLOCK PICKUPDEF SC CARETISBOL NUM QUOTE
Char nmdef[MAXLINE], myesc();
^{WS} indented_code = true; BEGIN(CODEBLOCK);
-^#.*\n ++linenum; ECHO; /* treat as a comment */
+^#.*\n ++linenum; /* treat as a comment */
^"/*" ECHO; BEGIN(C_COMMENT);
^"%s"{NAME}? return ( SCDECL );
^"%x"{NAME}? return ( XSCDECL );
}
^"%used" {
- pinpoint_message( "Warning, %%used/%%unused have been deprecated" );
+ pinpoint_message( "warning - %%used/%%unused have been deprecated" );
checking_used = REALLY_USED; BEGIN(USED_LIST);
}
^"%unused" {
checking_used = REALLY_NOT_USED; BEGIN(USED_LIST);
- pinpoint_message( "Warning, %%used/%%unused have been deprecated" );
+ pinpoint_message( "warning - %%used/%%unused have been deprecated" );
checking_used = REALLY_NOT_USED; BEGIN(USED_LIST);
}
/* set_input_file - open the given file (if NULL, stdin) for scanning */
-set_input_file( file )
+void set_input_file( file )
char *file;
{