Skip to content

RM-38434: Exclude AWL headers - #12

Open
brouwers-tiobe wants to merge 4 commits into
tiobe_pmd7from
38434-exclude-awl-headers
Open

RM-38434: Exclude AWL headers#12
brouwers-tiobe wants to merge 4 commits into
tiobe_pmd7from
38434-exclude-awl-headers

Conversation

@brouwers-tiobe

Copy link
Copy Markdown
Member

See RM-38434.

Defines the components of an AWL 'header' block (as defined in RM-38373), found at the start of the file. These are skipped in order to exclude them from duplication.

Example block that is skipped:

FUNCTION_BLOCK "fb1"
TITLE = %version: 1 % Title information is present here % $ ^ \
{ this_is_false := 'FALSE' }
FAMILY : Fam1
VERSION : 0.0

@brouwers-tiobe

Copy link
Copy Markdown
Member Author

Build artifact: CPD

Tool Download
CPD CPD-0.0.1-278.zip

@zon-tiobe zon-tiobe left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed and discussed offline.

The combination of the stricter header ordering and the broader function definition still excludes everything we want, and correctly includes things like titles outside headers as well.

After the explanation, the 'magic' of why this happens is now gone too. :)

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants