more accurate printing of precedence (print status of symbols)