Tidied up the handling of the code that emits the precedence level predicates that gets used in applications of showParen and readParen.