Commit 7918f50
[sdf] SdfPrimSpec::New() no longer substitutes __AnyType__
for an empty typename.
__AnyType__ was a workaround for the early file parser's
inability to allow empty typenames in defs, circa 2010.
Empty typenames in defs have been well-supported since 2013,
so we no longer need to do this, and by omitting it we save
a little bit of extra noise in files. Note that __AnyType__
continues to be allowed and supported; we simply no longer
insert that in place of an empty typename.
The typical scenario where a typeless def occurs is when
the typename is provided across a reference arc.
(Internal change: 2384346)1 parent 6be1d6e commit 7918f50
1 file changed
+4
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | 97 | | |
103 | 98 | | |
104 | 99 | | |
105 | 100 | | |
106 | | - | |
107 | | - | |
| 101 | + | |
| 102 | + | |
108 | 103 | | |
109 | 104 | | |
110 | 105 | | |
111 | 106 | | |
112 | 107 | | |
113 | 108 | | |
114 | 109 | | |
115 | | - | |
116 | | - | |
| 110 | + | |
| 111 | + | |
117 | 112 | | |
118 | 113 | | |
119 | 114 | | |
| |||
0 commit comments