summary refs log tree commit diff stats
path: root/tinyc/tccasm.c
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2015-02-16 20:32:24 +0100
committerAndreas Rumpf <rumpf_a@web.de>2015-02-16 20:32:24 +0100
commita5f8f538a20aee0671ec6ec9edb6c650365e2222 (patch)
tree9230fde86a5673e056a520e08985b7dcad9e88d3 /tinyc/tccasm.c
parent3fec9623d7487fff08c7ba100bae7fef0452a132 (diff)
parent657dca5c3b26a088ac291e06308d44d5e52c162f (diff)
downloadNim-a5f8f538a20aee0671ec6ec9edb6c650365e2222.tar.gz
Merge pull request #2140 from FedericoCeratto/devel
Fix some typos
Diffstat (limited to 'tinyc/tccasm.c')
-rw-r--r--tinyc/tccasm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyc/tccasm.c b/tinyc/tccasm.c
index 8834b53fb..9b5289f77 100644
--- a/tinyc/tccasm.c
+++ b/tinyc/tccasm.c
@@ -229,7 +229,7 @@ static inline void asm_expr_sum(TCCState *s1, ExprValue *pe)
                 } else {
                     goto cannot_relocate;
                 }
-                pe->sym = NULL; /* same symbols can be substracted to NULL */
+                pe->sym = NULL; /* same symbols can be subtracted to NULL */
             } else {
             cannot_relocate:
                 error("invalid operation with label");