From: Greg Harris <gregh@unify.com>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] Linux IA-64 yacc error
Date: Fri, 26 May 2000 15:27:49 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590678205109@msgid-missing> (raw)
[-- Attachment #1: Type: text/plain, Size: 502 bytes --]
Is this the correct forum for this question?
> Here is my problem. I am currently trying to build tools/src/nmake
> on trillian machine(received from Intel) with linux as OS. Here is the
> error
> I get
>
> yacc makey.y
>
> yacc:f - out of space.
>
> The machine has ample disk space.
>
We are able to compile simple y file with existing yacc.
> yacc is unable to handle complex
> file such as makey.y.
>
>
> Greg Harris
> Senior Software Engineer (I18N)
> Unify Corporation <<makey.y>>
[-- Attachment #2: makey.y --]
[-- Type: TEXT/plain, Size: 1190 bytes --]
%term number stop DEFINED
%term EQ NE LE GE LS RS
%term ANDAND OROR
%left ','
%right '='
%right '?' ':'
%left OROR
%left ANDAND
%left '|' '^'
%left '&'
%binary EQ NE
%binary '<' '>' LE GE
%left LS RS
%left '+' '-'
%left '*' '/' '%'
%right '!' '~' UMINUS
%left '(' '.'
%%
S: e stop ={return($1);}
e: e '*' e
={$$ = $1 * $3;}
| e '/' e
={$$ = ($3 != 0) ? $1 / $3 : 0;}
| e '%' e
={$$ = ($3 != 0) ? $1 % $3 : 0;}
| e '+' e
={$$ = $1 + $3;}
| e '-' e
={$$ = $1 - $3;}
| e LS e
={$$ = $1 << $3;}
| e RS e
={$$ = $1 >> $3;}
| e '<' e
={$$ = $1 < $3;}
| e '>' e
={$$ = $1 > $3;}
| e LE e
={$$ = $1 <= $3;}
| e GE e
={$$ = $1 >= $3;}
| e EQ e
={$$ = $1 == $3;}
| e NE e
={$$ = $1 != $3;}
| e '&' e
={$$ = $1 & $3;}
| e '^' e
={$$ = $1 ^ $3;}
| e '|' e
={$$ = $1 | $3;}
| e ANDAND e
={$$ = $1 && $3;}
| e OROR e
={$$ = $1 || $3;}
| e '?' e ':' e
={$$ = $1 ? $3 : $5;}
| e ',' e
={$$ = $3;}
| term
={$$ = $1;}
term:
'-' term %prec UMINUS
={$$ = -$2;}
| '!' term
={$$ = !$2;}
| '~' term
={$$ = ~$2;}
| '(' e ')'
={$$ = $2;}
| DEFINED '(' number ')'
={$$= $3;}
| DEFINED number
={$$ = $2;}
| number
={$$= $1;}
%%
next reply other threads:[~2000-05-26 15:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-05-26 15:27 Greg Harris [this message]
2000-05-26 15:32 ` [Linux-ia64] Linux IA-64 yacc error Bill Nottingham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-linux-ia64-105590678205109@msgid-missing \
--to=gregh@unify.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox