-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix parsing alias of enumeration literal with signature
- Loading branch information
Showing
6 changed files
with
72 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
package OsvvmGlobalPkg is | ||
type OsvvmOptionsType is (OPT_INIT_PARM_DETECT, OPT_USE_DEFAULT, DISABLED, FALSE, ENABLED, TRUE) ; | ||
|
||
-- Defaults for String values | ||
constant OSVVM_DEFAULT_ALERT_PREFIX : string := "%% Alert" ; | ||
constant OSVVM_DEFAULT_LOG_PREFIX : string := "%% Log " ; | ||
constant OSVVM_DEFAULT_WRITE_PREFIX : string := "%% " ; | ||
constant OSVVM_DEFAULT_DONE_NAME : string := "DONE" ; | ||
constant OSVVM_DEFAULT_PASS_NAME : string := "PASSED" ; | ||
constant OSVVM_DEFAULT_FAIL_NAME : string := "FAILED" ; | ||
constant OSVVM_STRING_INIT_PARM_DETECT : string := NUL & NUL & NUL ; | ||
constant OSVVM_STRING_USE_DEFAULT : string := NUL & "" ; | ||
|
||
-- Coverage Settings | ||
constant OSVVM_DEFAULT_WRITE_PASS_FAIL : OsvvmOptionsType := FALSE ; | ||
constant OSVVM_DEFAULT_WRITE_BIN_INFO : OsvvmOptionsType := TRUE ; | ||
constant OSVVM_DEFAULT_WRITE_COUNT : OsvvmOptionsType := TRUE ; | ||
constant OSVVM_DEFAULT_WRITE_ANY_ILLEGAL : OsvvmOptionsType := FALSE ; | ||
|
||
end OsvvmGlobalPkg ; | ||
|
||
use work.OsvvmGlobalPkg.all ; | ||
|
||
package CoveragePkg is | ||
|
||
-- type OsvvmOptionsType is (OPT_DEFAULT, FALSE, TRUE) ; | ||
alias CovOptionsType is work.OsvvmGlobalPkg.OsvvmOptionsType ; | ||
constant COV_OPT_INIT_PARM_DETECT : CovOptionsType := work.OsvvmGlobalPkg.OPT_INIT_PARM_DETECT ; | ||
-- For backward compatibility. Don't add to other packages. | ||
alias DISABLED is work.OsvvmGlobalPkg.DISABLED [return work.OsvvmGlobalPkg.OsvvmOptionsType ]; | ||
alias ENABLED is work.OsvvmGlobalPkg.ENABLED [return work.OsvvmGlobalPkg.OsvvmOptionsType ]; | ||
|
||
end package CoveragePkg ; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters