235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
|
# File 'lib/tecsgen/plugin/lib/MrubyBridgeSignaturePluginModule.rb', line 235
def set_include rhs
funcs = rhs.split ','
funcs.each{ |rhs_func|
found = false
rhs_func.gsub!( /\s/, "" )
@signature.get_function_head_array.each{ |a|
if rhs_func.to_sym == a.get_name then
found = true
end
}
if found == false then
cdl_error( "MRB1009 include function '$1' not found in signagture '$2'", rhs, @signature.get_name )
else
@includes << rhs_func.to_sym
end
}
end
|