From: Phil T. <phi...@us...> - 2009-04-27 15:59:11
|
Update of /cvsroot/aaf/AAF/meta In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv11534 Modified Files: mkdict.awk Log Message: Track contemporary spreadsheet - shoot becomes link, use AAF alias from several (by picking first). Index: mkdict.awk =================================================================== RCS file: /cvsroot/aaf/AAF/meta/mkdict.awk,v retrieving revision 1.63 retrieving revision 1.64 diff -C2 -d -r1.63 -r1.64 *** mkdict.awk 22 May 2008 21:16:22 -0000 1.63 --- mkdict.awk 27 Apr 2009 15:59:00 -0000 1.64 *************** *** 1239,1243 **** parentTypeName = typeName; ! } else if( tolower(CC["r_nest"]) == "child" || tolower(CC["r_nest"]) == "shoot") { # all "member"s of a type are child elements # use alias --- 1239,1243 ---- parentTypeName = typeName; ! } else if( tolower(CC["r_nest"]) == "child" || tolower(CC["r_nest"]) == "link") { # all "member"s of a type are child elements # use alias *************** *** 1756,1766 **** function getAlias( alias, app, appver, appsource, appdefault ) { ! # currently doesn't check app ! nAlias = split( appsource, appfields, "~" ); if( nAlias < 2 ) ret = "" ; # no aliases are given else { ! # merely return the last alias on the line ret = appfields[ nAlias ] ; } --- 1756,1769 ---- function getAlias( alias, app, appver, appsource, appdefault ) { ! # split into different apps ! nApp = split( appsource, apps, " " ); ! ! # currently doesn't check app, just uses the first one ! nAlias = split( apps[1], appfields, "~" ); if( nAlias < 2 ) ret = "" ; # no aliases are given else { ! # merely return the alias for the first app on the line ret = appfields[ nAlias ] ; } |