Commit fc80e1d0 authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Fix parsing of argument names starting with underscore for mo_cdi.

parent 17ce3d7b
......@@ -185,6 +185,9 @@ def setFortranParams(paramswithtypes,fFuncname)
# but maybe the result is the name of another parameter. -> play it again sam...
param += FParamExtension while ( originalParameters.include?(param) )
end
if param[0,1] == '_'
param = 'p' + param
end
[param,paramCType,fType,isPointer,isArray,arraySize,isConstant]
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment