[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lojban] Parser does not parse, heh
Sorry to followup to myself on such a short notice, but I just
compiled it, so here is the "fix":
On Mon, May 08, 2000 at 09:15:56PM -0300, Lalo Martins wrote:
> lalo:~/falcon/src/lojban/parser> gcc -o parser.i386 *.c
> print.c:9: initializer element is not constant
>
> The line in question is:
>
> static FILE *stream = stdout;
Replacing it by:
/*static FILE *stream = stdout;*/
#define stream stdout
did the trick. It's kind of temporary, however (changing the
output stream would require a recompile). The correct fix is to
make "stream" into a variable and have an initialization
function that sets it to stdout.
> I'm also contributing a Makefile
Oops, I missed a line.
[]s,
|alo
+----
--
Hack and Roll ( http://www.hackandroll.org )
News for, uh, whatever it is that we are.
http://www.webcom.com/lalo mailto:lalo@hackandroll.org
pgp key in the personal page
Brazil of Darkness (RPG) --- http://zope.gf.com.br/BroDar
------------------------------------------------------------------------
You have a voice mail message waiting for you at iHello.com:
http://click.egroups.com/1/3555/3/_/17627/_/957832769/
------------------------------------------------------------------------
To unsubscribe, send mail to lojban-unsubscribe@onelist.com
OBJS = absorb.o compound.o fabsorb.o filter.o getword.o glue.o grammar.o \
lerfu.o lex.o lexrulea.o lexruleb.o lexrulec.o lexruled.o lexrulee.o \
lexrulef.o lexruleg.o lexruleh.o lexrulei.o lexrulej.o lexrulek.o \
lexrulel.o lexrulem.o lexrulen.o lexruleo.o lexrulep.o lexruleq.o \
lexruler.o lexrules.o lexruleu.o lexrulev.o lexrulew.o lexruley.o \
mkcmavo.o node.o print.o queue.o rulename.o selmao.o termin.o token.o \
version.o
parser: $(OBJS)
cc -o parser $(OBJS)