$stderr.puts("Error: Can't translate the declaration '#{variableDeclaration}'")
$stderr.puts("Error: Can't translate the declaration '"+variableDeclaration+"'")
end
end
formatLines($declarationLines,1,"end type t_#{name}")
formatLines($declarationLines,1,'end type t_'+name)
$publicTypes.push(name)
end
...
...
@@ -823,7 +823,7 @@ end
#Scan the given header and collect the interface information in the global variables.
defscanHeader(headerPath)
#Scan the given header.
headerLines=IO.popen("cpp -fpreprocessed -dD #{headerPath}").readlines#The options cause the preprocessor to strip all comments, but retain all #defines, and ignore #includes.
headerLines=IO.popen('cpp -fpreprocessed -dD '+headerPath).readlines#The options cause the preprocessor to strip all comments, but retain all #defines, and ignore #includes.