From 23e60aa381fe5cf3105091e8cc566d33da9a54fa Mon Sep 17 00:00:00 2001 From: Stephen Williams Date: Thu, 17 Apr 2008 11:52:51 -0700 Subject: [PATCH] Fix parsing of precompiled macro definitions Passing preprocessor definitions forward into library cells was broken by this bug in processing the precompiled macro values that were written by the main preprocessor. --- ivlpp/lexor.lex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ivlpp/lexor.lex b/ivlpp/lexor.lex index 426299fce..5c17ee205 100644 --- a/ivlpp/lexor.lex +++ b/ivlpp/lexor.lex @@ -1635,6 +1635,8 @@ void load_precompiled_defines(FILE* src) name = cp; + *cp++ = ch; + while ((ch = fgetc(src)) != EOF && ch != ':') *cp++ = ch;