summaryrefslogtreecommitdiff
path: root/nasm.c
diff options
context:
space:
mode:
Diffstat (limited to 'nasm.c')
-rw-r--r--nasm.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/nasm.c b/nasm.c
index d8f64c5..70f8c9e 100644
--- a/nasm.c
+++ b/nasm.c
@@ -1750,16 +1750,16 @@ static enum directives getkw(char **directive, char **value)
/* it should be enclosed in [ ] */
if (*buf != '[')
- return D_NONE;
+ return D_none;
q = strchr(buf, ']');
if (!q)
- return D_NONE;
+ return D_none;
/* stip off the comments */
p = strchr(buf, ';');
if (p) {
if (p < q) /* ouch! somwhere inside */
- return D_NONE;
+ return D_none;
*p = '\0';
}
@@ -1771,7 +1771,7 @@ static enum directives getkw(char **directive, char **value)
p = nasm_skip_spaces(++buf);
q = nasm_skip_word(p);
if (!q)
- return D_NONE; /* sigh... no value there */
+ return D_none; /* sigh... no value there */
*q = '\0';
*directive = p;