Pitanje za asistenta (lex, CUP)
Da li se ovako u CUP- u dolazi do objekta Symbol kreiranog tokom
leksicke analize:
const_part ::= IDENT EQUALS rhs
{:
Obj newObj = new Obj();
*newObj.name = CUP$parser$stack.peek().toString();*
newObj.kind = IObj.CONSTANT;
:};
const_part ::= IDENT EQUALS rhs
{:
Obj newObj = new Obj();
*newObj.name = CUP$parser$stack.peek().toString();*
newObj.kind = IObj.CONSTANT;
:};
- Follow-Ups:
- Re: Pitanje za asistenta (lex, CUP)
- From: "Jovan Popovic" <jovan@etf.bg.ac.yu>
- Re: Pitanje za asistenta (lex, CUP)
Previous by date: CUP pitanje
Next by date: Novi materijali za predavanja
Previous by thread: CUP pitanje Next by thread: Re: Pitanje za asistenta (lex, CUP)
Previous by thread: CUP pitanje Next by thread: Re: Pitanje za asistenta (lex, CUP)