scilab: fix issue #755
This commit is contained in:
parent
8c8937dbdb
commit
95a5def328
4 changed files with 28 additions and 2 deletions
|
|
@ -664,7 +664,7 @@ public:
|
|||
if (isConstant || isEnum) {
|
||||
if (isEnum) {
|
||||
Setattr(node, "type", "double");
|
||||
constantValue = Getattr(node, "enumvalue");
|
||||
constantValue = Getattr(node, "value");
|
||||
}
|
||||
|
||||
constantTypemap = Swig_typemap_lookup("scilabconstcode", node, nodeName, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue