aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorMartin Bahlinger <martin.bahlinger@leica-geosystems.com>2021-04-19 13:45:26 +0200
committertgingold <tgingold@users.noreply.github.com>2021-04-20 18:58:15 +0200
commit47e765284652e2835cc03994de0d4e25d6d3c5ff (patch)
tree05a893e678d0aa8765c254ded4badf7eb5d1e264 /scripts
parent092025882ea6c3e4861277b175fa95e7825e756c (diff)
downloadghdl-47e765284652e2835cc03994de0d4e25d6d3c5ff.tar.gz
ghdl-47e765284652e2835cc03994de0d4e25d6d3c5ff.tar.bz2
ghdl-47e765284652e2835cc03994de0d4e25d6d3c5ff.zip
Revert changing parameter types of Get-VHDLVariables function
This change from commit 9c4c05cc led to "positional parameter cannot be found" error with PS 5.1
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vendors/shared.psm14
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vendors/shared.psm1 b/scripts/vendors/shared.psm1
index eb3c4c037..0c15ef53f 100644
--- a/scripts/vendors/shared.psm1
+++ b/scripts/vendors/shared.psm1
@@ -188,8 +188,8 @@ function Get-VHDLVariables
#>
[CmdletBinding()]
param(
- [switch]$VHDL93 = $false,
- [switch]$VHDL2008 = $true
+ [bool]$VHDL93 = $false,
+ [bool]$VHDL2008 = $true
)
if ($VHDL93)