Commit cbd2b0a6 authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Fix templates related to shared SDL functions

parent 5eb6de10
......@@ -23,9 +23,9 @@
@@ELSE@@
@@IF@@ @_Block_Is_Shared_Type_@
@@-- instance of a shared type stored in a shared folder
${wildcard @_Shared_Lib_Dir_@/@_LOWER:Block_Names_@/SDL/code/@_LOWER:Block_Instance_Of_@_datamodel.asn}
${wildcard ../@_LOWER:Block_Names_@/SDL/code/@_LOWER:Block_Instance_Of_@_datamodel.asn}
@@-- context parameters of the function type must be added too
${wildcard @_Shared_Lib_Dir_@/@_LOWER:Block_Instance_Of_@/SDL/Context*.asn}
${wildcard @_Shared_Lib_Dir_@/@_LOWER:Block_Instance_Of_@/@_LOWER:Block_Instance_Of_@/SDL/Context*.asn}
@@ELSE@@
${wildcard ../@_LOWER:Block_Names_@/SDL/code/@_LOWER:Block_Instance_Of_@_datamodel.asn}
@@-- context parameters of the function type must be added too
......
......@@ -68,7 +68,7 @@ dataview: dataview/C/built
@@-- Function is an instance of a type
@@IF@@ @_Is_Shared_Type_@
@@-- function type is stored in the shared library folder
sed -e '$$s/$$/\n/' -s ${DATAVIEW_UNIQ} @_LOWER:Function_Names_@/SDL/Context-@_LOWER:REPLACE_ALL(_/-):Function_Names_@.asn ${TASTE_SHARED_TYPES}/@_LOWER:Instance_Of_@/SDL/Context*.asn > @_LOWER:Function_Names_@/SDL/src/dataview-uniq.asn
sed -e '$$s/$$/\n/' -s ${DATAVIEW_UNIQ} @_LOWER:Function_Names_@/SDL/Context-@_LOWER:REPLACE_ALL(_/-):Function_Names_@.asn ${TASTE_SHARED_TYPES}/@_LOWER:Instance_Of_@/@_LOWER:Instance_Of_@/SDL/Context*.asn > @_LOWER:Function_Names_@/SDL/src/dataview-uniq.asn
@@ELSE@@
sed -e '$$s/$$/\n/' -s ${DATAVIEW_UNIQ} @_LOWER:Function_Names_@/SDL/Context-@_LOWER:REPLACE_ALL(_/-):Function_Names_@.asn @_LOWER:Instance_Of_@/SDL/Context*.asn > @_LOWER:Function_Names_@/SDL/src/dataview-uniq.asn
@@END_IF@@
......
Markdown is supported
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