[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Parser does not parse, heh
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;
which is of course just plain wrong... stdout _can't_ be used
as an initializer.
I'm also contributing a Makefile - rather simple, but it works,
and using a Makefile at all helps because we don't have to
recompile the whole beast when one of the source files change.
It still doesn't deal with dependencies on the header files (so
if you change one header file you have to "rm *.o") but it's
already an improvement.
[]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
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)