[DGD] Error in v1.2.131:comp/parser.c

Brian Gernhardt benji at silverinsanity.com
Fri Aug 17 03:10:31 CEST 2007


Trying to compile 1.2.131 on OS X, I get the following error:

cd comp; make 'CC=gcc' 'CCFLAGS=-DDARWIN  -g -DDEBUG' 'YACC=yacc' dgd
gcc -I. -I.. -I../lex -I../parser -I../kfun -DDARWIN  -g -DDEBUG   -c  
-o parser.o parser.c
parser.y: In function 'yyparse':
parser.y:376: error: too many arguments to function 'c_if'
parser.y:379: error: too many arguments to function 'c_if'
make[1]: *** [parser.o] Error 1
make: *** [a.out] Error 2

Deleting src/comp/parser.c forces it to rebuild it from parser.y,  
which works with "yacc: 1 shift/reduce conflict."  However, I thought  
you might want to know that it's broken out of the box.

~~ Brian



More information about the DGD mailing list