«« ( Date ) »» // «« ( Thread ) »» // ir4pp1 - 2007

Re: "Arr of int" umesto "int" kod niz[5]

by Marko Mitrovic
petak, 19. januar 2007 - 18:13.

Ne moras da prosledjujes (samo) Obj cvor preko ident_expr_list. Mozes i Struct, ili oba ili nesto trece, tako da resis problem.

----- Original Message ----
From: Joxa <mjoxa@yahoo.com>
To: ir4pp1@rti.etf.bg.ac.yu
Sent: Friday, January 19, 2007 5:28:13 PM
Subject: [ir4pp1] "Arr of int" umesto "int" kod niz[5]

Djole je ovo vec pitao, ali nisam pronasao odgovor.



Ako imamo: int niz[]; ... niz[5]



//primer sa casa
ident_expr_list ::= ident_expr_list:id LSQUARE expr RSQUARE {: ... RESULT = id; :}



Po ovome niz[5] ce imati tip "Arr of int" umesto samo "int".
Problem mi je sto nemam nijedan Obj cvor (tipa int) koji bih dodelio RESULT-u (kod klasa makar imam onaj Fld Obj cvor, pa i radi).



Gde gresim? Kako da resim?



Pozdrav,
Milos




Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.-----------------------------------------------------------------
unsubscribe:
minimalist@rti.etf.bg.ac.yu?subject=unsubscribe%20ir4pp1
-----------------------------------------------------------------








____________________________________________________________________________________
The fish are biting.
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php