mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 02:49:21 +02:00
+ Patch from Christian Iversen to fix defined() macro command
This commit is contained in:
parent
57af5a1f8c
commit
03e265c4b2
@ -470,7 +470,7 @@ implementation
|
|||||||
begin
|
begin
|
||||||
hs := current_scanner.preproc_pattern;
|
hs := current_scanner.preproc_pattern;
|
||||||
mac := tmacro(search_macro(hs));
|
mac := tmacro(search_macro(hs));
|
||||||
if assigned(mac) then
|
if assigned(mac) and mac.defined then
|
||||||
begin
|
begin
|
||||||
hs := '1';
|
hs := '1';
|
||||||
mac.is_used:=true;
|
mac.is_used:=true;
|
||||||
@ -3351,7 +3351,10 @@ exit_label:
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.104 2005-03-28 21:34:36 olle
|
Revision 1.105 2005-05-02 18:44:00 michael
|
||||||
|
+ Patch from Christian Iversen to fix defined() macro command
|
||||||
|
|
||||||
|
Revision 1.104 2005/03/28 21:34:36 olle
|
||||||
* Disabled warning for undefined compile time var in mode macpas, since it did not work.
|
* Disabled warning for undefined compile time var in mode macpas, since it did not work.
|
||||||
|
|
||||||
Revision 1.103 2005/03/20 22:36:45 olle
|
Revision 1.103 2005/03/20 22:36:45 olle
|
||||||
|
Loading…
Reference in New Issue
Block a user