Skip to content

Latest commit

 

History

History
111 lines (60 loc) · 2.28 KB

File metadata and controls

111 lines (60 loc) · 2.28 KB

Unbounded Array Definition Rules

unbounded_array_definition_100

|phase_2| |error| |whitespace|

This rule checks for whitespace after the array keyword.

|configuring_whitespace_rules_link|

Violation

type t_u_array_unconstrained is array(natural range <>) of unsigned;
type t_u_array_unconstrained is array     (natural range <>) of unsigned;

Fix

type t_u_array_unconstrained is array(natural range <>) of unsigned;
type t_u_array_unconstrained is array(natural range <>) of unsigned;

unbounded_array_definition_101

|phase_2| |error| |whitespace|

This rule checks for a single space before the of keyword.

|configuring_whitespace_rules_link|

Violation

type t_u_array_unconstrained is array(natural range <>)       of unsigned;

Fix

type t_u_array_unconstrained is array (natural range <>) of unsigned;

unbounded_array_definition_102

|phase_2| |error| |whitespace|

This rule checks for a single space after the of keyword.

|configuring_whitespace_rules_link|

Violation

type t_u_array_unconstrained is array(natural range <>) of        unsigned;

Fix

type t_u_array_unconstrained is array (natural range <>) of unsigned;

unbounded_array_definition_500

|phase_6| |error| |case| |case_keyword|

This rule checks the array keyword has proper case.

|configuring_uppercase_and_lowercase_rules_link|

Violation

type t_u_array_unconstrained is ARRAY(natural range <>) of unsigned;

Fix

type t_u_array_unconstrained is array(natural range <>) of unsigned;

unbounded_array_definition_501

|phase_6| |error| |case| |case_keyword|

This rule checks the of keyword has proper case.

|configuring_uppercase_and_lowercase_rules_link|

Violation

type t_u_array_unconstrained is array(natural range <>) OF unsigned;

Fix

type t_u_array_unconstrained is array(natural range <>) of unsigned;