another try...
This commit is contained in:
parent
0b8c998ae1
commit
3443fa1932
@ -96,8 +96,12 @@ protect_open_number(struct write_globs *wglb, int minus_required)
|
|||||||
wrf stream = wglb->stream;
|
wrf stream = wglb->stream;
|
||||||
|
|
||||||
if (lastw == symbol && last_minus && !minus_required) {
|
if (lastw == symbol && last_minus && !minus_required) {
|
||||||
|
if (!wglb->Ignore_ops) {
|
||||||
|
/* protect against collating - with number, and getting - 1 ^2 as (-(1))^2 */
|
||||||
|
wrputc(' ', wglb->stream);
|
||||||
|
}
|
||||||
wrputc('(', wglb->stream);
|
wrputc('(', wglb->stream);
|
||||||
} else if (lastw == symbol) {
|
} else if (lastw == alphanum) {
|
||||||
wrputc(' ', stream);
|
wrputc(' ', stream);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user