diff options
author | Keith Kanios <keith@kanios.net> | 2010-11-06 12:49:43 -0500 |
---|---|---|
committer | Keith Kanios <keith@kanios.net> | 2010-11-06 12:49:43 -0500 |
commit | cae5a26057ced61f5191b9adf096c47b31f4a0e3 (patch) | |
tree | becea42a443e9a7a4b3a4d71c303f0dc53506ebd | |
parent | 57d03f9c303145339171ac81ee1dab1973094aa3 (diff) | |
download | nasm-cae5a26057ced61f5191b9adf096c47b31f4a0e3.tar.gz |
preproc.c: fixed spacing/tabs since from last commit
-rw-r--r-- | preproc.c | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -1860,7 +1860,7 @@ static bool if_condition(Token * tline, enum preproc_token ct) tline->text[1] != '!'))) { error(ERR_NONFATAL, "`%s' expects environment variable names", - pp_directives[ct]); + pp_directives[ct]); goto fail; } p = tline->text; @@ -3612,15 +3612,15 @@ issue_error: } len = nasm_unquote(t->text, NULL); - /* make start and count being in range */ - if (start < 0) - start = 0; - if (count < 0) - count = len + count + 1 - start; - if (start + count > (int64_t)len) - count = len - start; - if (!len || count < 0 || start >=(int64_t)len) - start = -1, count = 0; /* empty string */ + /* make start and count being in range */ + if (start < 0) + start = 0; + if (count < 0) + count = len + count + 1 - start; + if (start + count > (int64_t)len) + count = len - start; + if (!len || count < 0 || start >=(int64_t)len) + start = -1, count = 0; /* empty string */ macro_start = nasm_malloc(sizeof(*macro_start)); macro_start->next = NULL; |