summaryrefslogtreecommitdiff
path: root/utils/2c/Update
diff options
context:
space:
mode:
Diffstat (limited to 'utils/2c/Update')
-rw-r--r--utils/2c/Update7
1 files changed, 7 insertions, 0 deletions
diff --git a/utils/2c/Update b/utils/2c/Update
new file mode 100644
index 00000000..65024dfe
--- /dev/null
+++ b/utils/2c/Update
@@ -0,0 +1,7 @@
+ if(n->op == ONAME) {
+< if(o == OSET)
+< gopcode(OTST, tint, D_NONE, Z, D_TREE, n);
+< else
+< gopcode(OTST, tint, D_TREE, n, D_NONE, Z);
+< p->as = ANOP;
+< }