summary refs log tree commit diff stats
path: root/tinyc/tccasm.c
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2015-02-15 16:20:32 +0000
committerFederico Ceratto <federico.ceratto@gmail.com>2015-02-15 16:20:32 +0000
commit657dca5c3b26a088ac291e06308d44d5e52c162f (patch)
treea3009486a0157d0a5d38bfabff3b041cab3e3779 /tinyc/tccasm.c
parentc95f6f117a665bc6d3d64ae8703459759973f63f (diff)
downloadNim-657dca5c3b26a088ac291e06308d44d5e52c162f.tar.gz
Fix 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");