summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Kanios <keith@kanios.net>2010-11-06 12:49:43 -0500
committerKeith Kanios <keith@kanios.net>2010-11-06 12:49:43 -0500
commitcae5a26057ced61f5191b9adf096c47b31f4a0e3 (patch)
treebecea42a443e9a7a4b3a4d71c303f0dc53506ebd
parent57d03f9c303145339171ac81ee1dab1973094aa3 (diff)
downloadnasm-cae5a26057ced61f5191b9adf096c47b31f4a0e3.tar.gz
preproc.c: fixed spacing/tabs since from last commit
-rw-r--r--preproc.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/preproc.c b/preproc.c
index 8ddb1223..508e09f6 100644
--- a/preproc.c
+++ b/preproc.c
@@ -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;