From f1a36ca6476e1a67d96d48ea7d9dcdc9f8c6f1d1 Mon Sep 17 00:00:00 2001 From: "Wolfgang (Blub) Bumiller" Date: Fri, 30 Nov 2012 15:44:45 +0100 Subject: [PATCH] Ignore modelgen commands with lex->flags.preprocessing --- lexer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lexer.c b/lexer.c index 258fb97..5c9b7ee 100644 --- a/lexer.c +++ b/lexer.c @@ -969,7 +969,7 @@ int lex_do(lex_file *lex) } /* modelgen / spiritgen commands */ - if (ch == '$') { + if (ch == '$' && !lex->flags.preprocessing) { const char *v; size_t frame; -- 2.39.2