correct #215 by fixing bug in ambiguity_check

This commit is contained in:
Mark Thom
2019-10-27 12:32:18 -06:00
parent 7cdbd2f16c
commit 0fdf0d8d06

View File

@@ -329,7 +329,7 @@ pub fn requires_space(atom: &str, op: &str) -> bool {
.next()
.map(|oc| {
if ac == '0' {
oc == 'b' || oc == 'x' || oc == 'o' || oc == '\''
oc == 'b' || oc == 'x' || oc == 'o' || oc == '\'' || alpha_numeric_char!(oc)
} else if alpha_numeric_char!(ac) {
oc == '(' || alpha_numeric_char!(oc)
} else if graphic_token_char!(ac) {