diff options
| author | azidar | 2015-08-04 16:08:56 -0700 |
|---|---|---|
| committer | azidar | 2015-08-04 16:08:56 -0700 |
| commit | ede7df1a99a7b5bf44ccfca4f7beb650e65f8b8b (patch) | |
| tree | 1979976b36ea9923f9bf279aecfd799e12ddcaff | |
| parent | 80846abc76ff6bed9984d2ab3aaad22de665ac4f (diff) | |
Added () around width printers
| -rw-r--r-- | src/main/stanza/passes.stanza | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/stanza/passes.stanza b/src/main/stanza/passes.stanza index 2fc6847f..a868929b 100644 --- a/src/main/stanza/passes.stanza +++ b/src/main/stanza/passes.stanza @@ -1754,9 +1754,9 @@ public defmethod print (o:OutputStream, w:VarWidth) : public defmethod print (o:OutputStream, w:MaxWidth) : print-all(o,["max" args(w)]) public defmethod print (o:OutputStream, w:PlusWidth) : - print-all(o,[ arg1(w) " + " arg2(w)]) + print-all(o,[ "(" arg1(w) " + " arg2(w) ")"]) public defmethod print (o:OutputStream, w:MinusWidth) : - print-all(o,[ arg1(w) " - " arg2(w)]) + print-all(o,[ "(" arg1(w) " - " arg2(w) ")"]) public defmethod print (o:OutputStream, w:ExpWidth) : print-all(o,[ "exp(" arg1(w) ")"]) |
