mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 06:29:16 +02:00
No nested comments in Delphi mode.
This commit is contained in:
parent
d2e96086cb
commit
efa00172ac
@ -577,7 +577,8 @@ implementation
|
|||||||
|
|
||||||
procedure tscannerfile.dec_comment_level;
|
procedure tscannerfile.dec_comment_level;
|
||||||
begin
|
begin
|
||||||
if cs_tp_compatible in aktswitches then
|
if (cs_tp_compatible in aktswitches) or
|
||||||
|
(cs_delphi2_compatible in aktswitches) then
|
||||||
comment_level:=0
|
comment_level:=0
|
||||||
else
|
else
|
||||||
dec(comment_level);
|
dec(comment_level);
|
||||||
@ -1548,7 +1549,10 @@ exit_label:
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.36 1998-07-20 22:17:17 florian
|
Revision 1.37 1998-07-23 12:40:41 michael
|
||||||
|
No nested comments in Delphi mode.
|
||||||
|
|
||||||
|
Revision 1.36 1998/07/20 22:17:17 florian
|
||||||
* hex constants in numeric char (#$54#$43 ...) are now allowed
|
* hex constants in numeric char (#$54#$43 ...) are now allowed
|
||||||
* there was a bug in record_var_dec which prevents the used
|
* there was a bug in record_var_dec which prevents the used
|
||||||
of nested variant records (for example drivers.tevent of tv)
|
of nested variant records (for example drivers.tevent of tv)
|
||||||
|
Loading…
Reference in New Issue
Block a user