On Thu, 15 Mar 2001, Joe Vigil wrote:
Hmm, there are other lex-es too that don't like the file. The trick is that
some lex-es do not like expressions followed by empty statements; you need
to present an { and an }. See patch.
Well, at least you didn't get an error on "<<EOF>> unknown start condition"...
diff -u conf_lexer.lxx.orig conf_lexer.lxx
--- conf_lexer.lxx.orig Fri Mar 16 09:58:01 2001
+++ conf_lexer.lxx Fri Mar 16 09:58:34 2001
@@ -103,9 +103,13 @@
strcpy(yylval.str,yytext);
return(T_STRING);
}
-<t_right>\\\n /* Ignore newline after "\" */
+<t_right>\\\n {
+ /* Ignore newline after "\" */
+ }
-<t_right>[ \t]* /* Ignore spaces */
+<t_right>[ \t]* {
+ /* Ignore spaces */
+ }
<incl>{STRING} { /* got the include file name */
if ( include_stack_ptr >= MAX_INCLUDE_DEPTH )
> I get the following error while making/compiling:
>
> ===================================================================================
> make[1]: Entering directory
> `/usr2/joe/uunet/htdig-3.2.0b4-031201/htcommon'
> lex -L conf_lexer.lxx && mv lex.yy.c conf_lexer.cxx
> 0: (Warning) Unknown option L
> 111: (Warning) Executable statements should occur right after %%
> 112: (Warning) Executable statements should occur right after %%
> 113: (Warning) Executable statements should occur right after %%
> 114: (Warning) Executable statements should occur right after %%
> 115: (Warning) Executable statements should occur right after %%
> 116: (Warning) Executable statements should occur right after %%
> 117: (Warning) Executable statements should occur right after %%
> 118: (Warning) Executable statements should occur right after %%
> 120: (Warning) Executable statements should occur right after %%
> 121: (Warning) Executable statements should occur right after %%
> 122: (Warning) Executable statements should occur right after %%
> 124: (Warning) Executable statements should occur right after %%
> 125: (Warning) Executable statements should occur right after %%
> 126: (Warning) Executable statements should occur right after %%
> 127: (Warning) Executable statements should occur right after %%
> 128: (Warning) Executable statements should occur right after %%
> 129: (Warning) Executable statements should occur right after %%
> 130: (Warning) Executable statements should occur right after %%
> 131: (Warning) Executable statements should occur right after %%
> 132: (Warning) Executable statements should occur right after %%
> 133: (Warning) Executable statements should occur right after %%
> 134: (Warning) Executable statements should occur right after %%
> 135: (Warning) Executable statements should occur right after %%
> 136: (Warning) Executable statements should occur right after %%
> 137: (Warning) Executable statements should occur right after %%
> 138: (Warning) Executable statements should occur right after %%
> 139: (Warning) Executable statements should occur right after %%
> 140: (Warning) Executable statements should occur right after %%
> 142: (Warning) Executable statements should occur right after %%
> 144: (Warning) Executable statements should occur right after %%
> 145: (Warning) Executable statements should occur right after %%
> 146: (Warning) Executable statements should occur right after %%
> 147: (Warning) Executable statements should occur right after %%
> 148: (Warning) Executable statements should occur right after %%
> 149: (Warning) Executable statements should occur right after %%
> 150: (Warning) Executable statements should occur right after %%
> 151: (Warning) Executable statements should occur right after %%
> 152: (Warning) Executable statements should occur right after %%
> 154: (Warning) Executable statements should occur right after %%
> 155: (Warning) Executable statements should occur right after %%
> 157: (Warning) Undefined start condition <EOF
> (Error) Too little core for final packing
> 101/2000 nodes(%e), 190/5000 positions(%p), 34/2500 (%n), 4180
> transitions
> 49/1000 packed char classes(%k)
> 505/5000 packed transitions(%a)
> 0/0 output slots(%o)
>
> make[1]: *** [conf_lexer.cxx] Error 1
> make[1]: Leaving directory
> `/usr2/joe/uunet/htdig-3.2.0b4-031201/htcommon'
> make: *** [all-recursive] Error 1
> ================================================================================
> This is on AIX 4.3.2, gcc version 2.95.2, using configure options
> --prefix=/usr/local/htdig --disable-shared --without-zlib
>
> Any ideas?
>
> - Joe Vigil
> I.S. Manager
> Avibank Mfg., Inc.
>
> _______________________________________________
> htdig-dev mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/htdig-dev
>
--jesse
--------------------------------------------------------------------
J. op den Brouw Johanna Westerdijkplein 75
Haagse Hogeschool 2521 EN DEN HAAG
Faculty of Engeneering Netherlands
Electrical Engeneering +31 70 4458936
-------------------- [EMAIL PROTECTED] --------------------
Linux - because reboots are for hardware changes
_______________________________________________
htdig-dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/htdig-dev