On Wed, 14 Mar 2001, Gilles Detillieux wrote:
> > "conf_lexer.lxx" line 85: warning 45: Non-portable Character Class
> > "conf_lexer.lxx" line 100: warning 45: Non-portable Character Class
>
> I think we probably should rewrite the STRING character class not to use
> hex characters. Just a hunch, but I think that's what it's complainin
> about. Try this on line 46, and see if it gets rid of those warnings:
>
> STRING [\041-\377]+
My HP-sUX lex is not picky about it. It gives me warnings that it still is a
non portable class.
>
> > "conf_lexer.lxx" line 111: warning 22: Executable statements should occur
> right
> > after %%
> > "conf_lexer.lxx" line 117: warning 22: Executable statements should occur
> right
> > after %%
> > "conf_lexer.lxx" line 121: warning 22: Executable statements should occur
> right
> > after %%
> > "conf_lexer.lxx" line 123: error 81: syntax error
>
> Now that's really odd, but I'd guess that lex got confused by the comment
> right on the same line as the opening brace on line 110. Try moving the
> comment down a line, so that line 110 ends with the "{".
>
> If these changes clear up these errors, we should commit them for the sake
> of portability.
>
> To summarise, use octal constants in the character class on line 46,
> and add a newline on line 110, right between the "{" and the comment.
> Thanks.
The problem is *before* that { comment! The two expressions before that point
have no { ... } so you need to make it:
<t_right>\\\n {
/* Ignore newline after "\" */
}
<t_right>[ \t]* {
/* Ignore spaces */
}
But then, it IS HP-sUx so I get a new one!
[msql@chaos htcommon]$ make
lex -L conf_lexer.lxx && mv lex.yy.c conf_lexer.cxx
"conf_lexer.lxx" line 161: warning 48: Undefined start condition <EOF
"conf_lexer.lxx" line 186: error 50: output table overflow, try using %o num
119/1000 nodes(%e), 184/2500 positions(%p), 35/500 (%n), 2328 transitions,
54/1000 packed char classes(%k), 361/2000 packed transitions(%a), 0/0 output
slots(%o)
make: *** [conf_lexer.cxx] Error 1
[msql@chaos htcommon]$
Now I've read that <<EOF>> should be a valid expression.......
--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