diff --git a/ee.c b/ee.c index fd6a8b7..bd1e503 100644 --- a/ee.c +++ b/ee.c @@ -49,8 +49,9 @@ isNum(const char* query){ int // Dependency of main() arrity(const char query){ /* - * If query is a string, isOperator iff query is a - * supported operator. + * If query is a string corresponding to an operator in {+,x,-,/,^,!}, then + * arrity(query) is the number of operands required by the operator. + * If query is any other string, arrity(query) is zero. */ return (query == '+')? 2: (query == 'x')? 2: