correct sign/1 (#216)

This commit is contained in:
Mark Thom
2019-10-27 14:18:32 -06:00
parent 67a00e4deb
commit 0dcd9e5805
2 changed files with 4 additions and 3 deletions

View File

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