Skip to content

Commit

Permalink
sel: Allow to use <Type> XML tag instead of <POUKind>
Browse files Browse the repository at this point in the history
  • Loading branch information
jubnzv committed Oct 19, 2021
1 parent 79214e4 commit 1f98e83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/sel.ml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ let rec parse_source i d acc =
acc.implementation <- (pull_data i);
parse_source i d acc
end
|`El_start ((_, tag), _) when (String.equal tag "POUKind") -> begin
|`El_start ((_, tag), _) when (String.equal tag "POUKind" || String.equal tag "Type") -> begin
acc.pou_type <- (pull_pou_type i);
parse_source i d acc
end
Expand Down

0 comments on commit 1f98e83

Please sign in to comment.