Add comment about operator precedence.

This commit is contained in:
Dianne Skoll
2022-03-04 08:16:58 -05:00
parent 8ae9ce8523
commit f616be4bdd

View File

@@ -44,6 +44,17 @@ static int MakeValue (char const *s, Value *v, Var *locals, ParsePtr p);
/* Binary operators - all left-associative */
/* Operator precedence:
* Highest: Unary - Unary !
* / %
* + -
* < <= > >=
* == !=
* &&
* Lowest: ||
*
*/
/* Make SURE they are sorted lexically... this may die on an EBCDIC
system... */