tweaked get parameter
This commit is contained in:
@ -515,6 +515,11 @@ TableNode *getParameter(TableNode *definition) {
|
|||||||
"function. Invalid.");
|
"function. Invalid.");
|
||||||
return undefined;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
if(definition->additionalinfo == NULL){
|
||||||
|
printdebug(
|
||||||
|
"node has NULL additionalinfo. Invalid.");
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
if (strcmp(getType(definition), "primitive function type") != 0) {
|
if (strcmp(getType(definition), "primitive function type") != 0) {
|
||||||
printdebug(
|
printdebug(
|
||||||
"not checking the parameter of a function -- invalid op");
|
"not checking the parameter of a function -- invalid op");
|
||||||
|
Reference in New Issue
Block a user