diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-07-15 17:11:26 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-07-15 17:11:26 (GMT) |
commit | 5346e18047c0e047db2f1b13dc2c767a73c5c305 (patch) | |
tree | bc5400211360251f121d60efdd50b09f10db11d2 /src/constexp.y | |
parent | d723d351b1ec59ad9db456f820d59a6e270f21a4 (diff) | |
download | Doxygen-5346e18047c0e047db2f1b13dc2c767a73c5c305.zip Doxygen-5346e18047c0e047db2f1b13dc2c767a73c5c305.tar.gz Doxygen-5346e18047c0e047db2f1b13dc2c767a73c5c305.tar.bz2 |
Release-1.2.8-20010715
Diffstat (limited to 'src/constexp.y')
-rw-r--r-- | src/constexp.y | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/constexp.y b/src/constexp.y index f5565bc..9063c52 100644 --- a/src/constexp.y +++ b/src/constexp.y @@ -20,6 +20,7 @@ #include "cppvalue.h" #include "constexp.h" +#include "message.h" #if defined(_MSC_VER) #define MSDOS @@ -32,7 +33,8 @@ int cppExpYYerror(const char *s) { - printf("Error in constant expression evaluation: %s\n",s); + warn(g_constExpFileName,g_constExpLineNr, + "Problem during constant expression evaluation: %s",s); return 0; } @@ -73,7 +75,7 @@ int cppExpYYlex(); %% start: constant_expression - { resultValue = $1; return 0; } + { g_resultValue = $1; return 0; } ; constant_expression: logical_or_expression |