Next:
Language restrictions
Up:
Avoiding conflicts in the parser
Previous:
Allowing ArithmeticExpression to be a
Actual parameters
Observe how
ActualParameterSequence
is defined by
ActualParameterSequence
ActualParameter
ActualParameterSequence
ActualParameterSequence
ActualParameter
,
MoreParamters
MoreParamters
ActualParameter
MoreParamters
ActualParameter
,
MoreParamters
ActualParameter
ArithmeticExpression
In particular, an actual parameter cannot be a function call. This is meant to simplify type checking. Of course, this restriction can be worked out by the programmer by using temporary variables.
Next:
Language restrictions
Up:
Avoiding conflicts in the parser
Previous:
Allowing ArithmeticExpression to be a
Marc Moreno Maza
2004-12-01