summaryrefslogtreecommitdiff
path: root/asm/preproc-nop.c
diff options
context:
space:
mode:
Diffstat (limited to 'asm/preproc-nop.c')
-rw-r--r--asm/preproc-nop.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/asm/preproc-nop.c b/asm/preproc-nop.c
index a9a46b0f..a927880c 100644
--- a/asm/preproc-nop.c
+++ b/asm/preproc-nop.c
@@ -182,6 +182,12 @@ static void nop_error_list_macros(errflags severity)
(void)severity;
}
+static bool nop_suppress_error(errflags severity)
+{
+ (void)severity;
+ return false;
+}
+
const struct preproc_ops preproc_nop = {
nop_init,
nop_reset,
@@ -195,4 +201,5 @@ const struct preproc_ops preproc_nop = {
nop_pre_command,
nop_include_path,
nop_error_list_macros,
+ nop_suppress_error
};