Skip to content

Commit

Permalink
add FPC checks; cmt
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-T committed Mar 22, 2022
1 parent 5f6b2d8 commit 4db6c30
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
6 changes: 6 additions & 0 deletions cudalister.lpi
Expand Up @@ -139,6 +139,12 @@
<CodeGeneration>
<SmartLinkUnit Value="True"/>
<RelocatableUnit Value="True"/>
<Checks>
<IOChecks Value="True"/>
<RangeChecks Value="True"/>
<OverflowChecks Value="True"/>
<StackChecks Value="True"/>
</Checks>
<TargetCPU Value="i386"/>
<TargetOS Value="win32"/>
<Optimizations>
Expand Down
3 changes: 1 addition & 2 deletions proc_themes.pas
Expand Up @@ -513,9 +513,8 @@ function DoApplyLexerStylesMap(an: TecSyntAnalyzer): boolean;
i: integer;
begin
Result:= true;
//anNotCorrect:= an;
if an=nil then exit;
an.AppliedStylesMap:= true;
an.AppliedStylesMap:= true; //prevent recursion later
if an.Formats.Count=0 then exit;

//work for sublexers
Expand Down

0 comments on commit 4db6c30

Please sign in to comment.