Small fix for VHDL syntax (#3375)

This commit is contained in:
m-kru 2024-08-19 21:11:24 +02:00 committed by GitHub
parent 63ffc40a6b
commit fa9bc6b98c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,7 @@ detect:
filename: "\\.vhdl?$"
rules:
- type: "(i)\\b(string|integer|natural|positive|(un)?signed|std_u?logic(_vector)?|bit(_vector)?|boolean|u?x01z?|array|range)\\b"
- type: "(?i)\\b(string|integer|natural|positive|(un)?signed|std_u?logic(_vector)?|bit(_vector)?|boolean|u?x01z?|array|range)\\b"
- identifier: "(?i)library[[:space:]]+[a-zA-Z_0-9]+"
- identifier: "(?i)use[[:space:]]+[a-zA-Z_0-9\\.]+"
- identifier: "(?i)component[[:space:]]+[a-zA-Z_0-9]+"