MenTaLguY
1/3/2006 10:54:00 PM
Hey, I've got this HP-UX 11i box which I'm trying to build Ruby
1.8.4 on. gcc 3.3.2.
Things go well, except it dies on parse.o:
gcc -g -O2 -DRUBY_EXPORT -I. -I. -c parse.c
In file included from parse.y:3338:
keywords:11: error: parse error before '{' token
keywords:45: error: syntax error before '{' token
parse.y: In function `ruby_yylex':
parse.y:4439: warning: assignment makes pointer from integer
without a cast
*** Error exit code 1
Looking at lex.c:
#line 21 "keywords"
{"for, {kFOR, kFOR}, EXPR_BEG"},
#line 11 "keywords"
{"case, {kCASE, kCASE}, EXPR_BEG"},
That looks valid, and I can't even find anything which would
correspond to line 45 from keywords. There is, however, this
around line 40ish of lex.c:
unsigned int
{
static unsigned char asso_values[] =
{
That definitely doesn't look right.
I've got gperf 3.0.1. Is this a gperf bug? Has anyone else hit
this before?
-mental