Display the type name for bit variable (vpiBitVar).

Display vpiBitVar instead of 620 when asking for the type name of a
bit variable.
This commit is contained in:
Cary R
2011-09-11 11:42:46 -07:00
committed by Stephen Williams
parent ca6af1c20d
commit 40c37be307
+3 -1
View File
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2008-2010 Stephen Williams ([email protected])
* Copyright (c) 2008-2011 Stephen Williams ([email protected])
*
* This source code is free software; you can redistribute it
* and/or modify it in source code form under the terms of the GNU
@@ -256,6 +256,8 @@ static const char* vpi_type_values(PLI_INT32 code)
{
static char buf[32];
switch (code) {
case vpiBitVar:
return "vpiBitVar";
case vpiByteVar:
return "vpiByteVar";
case vpiConstant: