Skip to content

Commit

Permalink
Better support for 'delayed' keyword in external procedure declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanYankovsky committed Apr 19, 2017
1 parent 285a986 commit 840ab09
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/SimpleParser/SimpleParser.pas
Original file line number Diff line number Diff line change
Expand Up @@ -2139,6 +2139,10 @@ procedure TmwSimplePasPar.ExternalDirective;
begin
if FLexer.ExID <> ptName then
SimpleExpression;

if FLexer.ExID = ptDelayed then
NextToken;

ExternalDirectiveTwo;
end;
end;
Expand Down

0 comments on commit 840ab09

Please sign in to comment.