diff --git a/libs/preprocessor/src/processor/directives.rs b/libs/preprocessor/src/processor/directives.rs index a81178ab..cb5d4ff5 100644 --- a/libs/preprocessor/src/processor/directives.rs +++ b/libs/preprocessor/src/processor/directives.rs @@ -83,6 +83,11 @@ impl Processor { Self::expect_nothing_to_newline(stream)?; Ok(()) } + ("pragma", _) => { + // TODO: hemtt pragma + self.skip_to_after_newline(stream, None); + Ok(()) + } (_, true) => Err(Error::Code(Box::new(UnknownDirective { token: Box::new(command), }))),