diff options
author | Philipp Kloke <philipp.kloke@web.de> | 2013-03-31 12:01:23 +0200 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2013-04-01 02:13:41 +0400 |
commit | b432f5774123e20a210c473a85c102333514d1f1 (patch) | |
tree | b2df92b4b6240cd6d30f62de761a2d58b26527a0 /preproc.c | |
parent | 91a2f99346212684c2c87df835fc0791dcc9ad96 (diff) | |
download | nasm-b432f5774123e20a210c473a85c102333514d1f1.tar.gz nasm-b432f5774123e20a210c473a85c102333514d1f1.tar.bz2 nasm-b432f5774123e20a210c473a85c102333514d1f1.zip |
Fixed wrong/redundant comparison according to documentation in comment above.
Bug found by: CppCheck 1.59 (static source analysis tool)
Signed-off-by: Philipp Kloke <philipp.kloke@web.de>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Diffstat (limited to 'preproc.c')
-rw-r--r-- | preproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2175,7 +2175,7 @@ static int do_directive(Token * tline) * since they are known to be buggy at moment, we need to fix them * in future release (2.09-2.10) */ - if (i == PP_RMACRO || i == PP_RMACRO || i == PP_EXITMACRO) { + if (i == PP_RMACRO || i == PP_IRMACRO || i == PP_EXITMACRO) { error(ERR_NONFATAL, "unknown preprocessor directive `%s'", tline->text); return NO_DIRECTIVE_FOUND; |