mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 21:46:00 +02:00
* no localbrowser when browser is turned off
This commit is contained in:
parent
b1612bd1a8
commit
6352fd282f
@ -111,9 +111,13 @@ begin
|
|||||||
if current_module^.in_global then
|
if current_module^.in_global then
|
||||||
begin
|
begin
|
||||||
if state='+' then
|
if state='+' then
|
||||||
aktmoduleswitches:=aktmoduleswitches+[tmoduleswitch(setsw)]
|
aktmoduleswitches:=aktmoduleswitches+[tmoduleswitch(setsw)]
|
||||||
else
|
else
|
||||||
aktmoduleswitches:=aktmoduleswitches-[tmoduleswitch(setsw)];
|
aktmoduleswitches:=aktmoduleswitches-[tmoduleswitch(setsw)];
|
||||||
|
{ can't have local browser when no global browser }
|
||||||
|
if (cs_local_browser in aktmoduleswitches) and
|
||||||
|
not(cs_browser in aktmoduleswitches) then
|
||||||
|
aktmoduleswitches:=aktmoduleswitches-[cs_local_browser];
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
Message(scan_w_switch_is_global);
|
Message(scan_w_switch_is_global);
|
||||||
@ -166,7 +170,10 @@ end;
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.18 1998-12-11 00:03:47 peter
|
Revision 1.19 1999-02-18 13:43:20 peter
|
||||||
|
* no localbrowser when browser is turned off
|
||||||
|
|
||||||
|
Revision 1.18 1998/12/11 00:03:47 peter
|
||||||
+ globtype,tokens,version unit splitted from globals
|
+ globtype,tokens,version unit splitted from globals
|
||||||
|
|
||||||
Revision 1.17 1998/11/27 14:50:46 peter
|
Revision 1.17 1998/11/27 14:50:46 peter
|
||||||
|
Loading…
Reference in New Issue
Block a user