From: Clifford Heath Date: 2005-10-13T15:06:53+09:00 Subject: Re: Default argument values for blocks Caleb Clausen wrote: > But... does anyone know why I couldn't get yacc to do what was so easy > in my hand-coded lexer? I've long since erased my yacc hacks in > disgust, but if anyone's interested enough to want to see them, they > can easily be reproduced. I forget the details now, but C has the same problem with the comma operator, when it occurs in a function-call parameter list - the precedence changes. You might see how that is handled in one of the many yacc grammars for C. FWIW, I think that the goalpost symbol was a bad choice by matz, but regardless of that, you're aiming at the right work-around. Clifford Heath.