From a6d28b563000a7908be3bab1d65d9395bb64c060 Mon Sep 17 00:00:00 2001 From: Jonas Maebe Date: Wed, 29 Jan 2014 19:26:12 +0000 Subject: [PATCH] * pass on the "eval" state (whether or not subexpressions should be evaluated) when encountering a "(" in a preprocessor expression (broken after r25465, mantis #25296) git-svn-id: trunk@26615 - --- compiler/scanner.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/scanner.pas b/compiler/scanner.pas index 2739337601..ba6c75873a 100644 --- a/compiler/scanner.pas +++ b/compiler/scanner.pas @@ -1923,7 +1923,7 @@ type else if current_scanner.preproc_token =_LKLAMMER then begin preproc_consume(_LKLAMMER); - result:=preproc_sub_expr(opcompare,true); + result:=preproc_sub_expr(opcompare,eval); preproc_consume(_RKLAMMER); end else if current_scanner.preproc_token = _LECKKLAMMER then