shithub: scc

Download patch

ref: b670dbdea0cbe8f952c8b9aa134fd8ac6f34e271
parent: 8a299a6aad02762c54b653af2551edae7cd62e53
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu Aug 16 15:14:02 EDT 2012

Fixed bug printing represetation of postdecrement

Text assigned to this operator was the same than preincrement.

--- a/tree.c
+++ b/tree.c
@@ -132,7 +132,7 @@
 		[OFIELD] = {2, "."},
 		[OPTR] = {2, "->"},
 		[OPOSTINC] = {1, ".++"},
-		[OPOSTDEC] = {1, "++."},
+		[OPOSTDEC] = {1, ".--"},
 		[OPREINC] = {1, "++."},
 		[OPREDEC] = {1, "--."},
 		[OADDR] = {1, "&."},