Pointer incrementation and assignme

John Kallen jkl at csli.Stanford.EDU
Sat May 27 15:54:15 AEST 1989


In article <9135 at csli.Stanford.EDU> jkl at csli.stanford.edu (John Kallen) writes:
>	yylval[yylval1[i]][yylval2[i]] = yylval[yylval1[i]][yylval2[i]] + 1;
>
>which might very easily get corrupted inadvertently. Now,
>
>	yylval[yyval1[i]][yylval2[i]] ++;
		 ^ insert an 'l' here....

Looks like my example got corrupted inadvertently :-)	
_______________________________________________________________________________
 | |   |   |    |\ | |   /|\ | John Kallen            
 | |\ \|/ \|  * |/ | |/|  |  | PoBox 11215             "Life. Don't talk to me 
 | |\ /|\  |\ * |\ |   |  |  | Stanford CA 94309        about life."         
_|_|___|___|____|_\|___|__|__|_jkl at csli.stanford.edu___________________________



More information about the Comp.lang.c mailing list