"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/dmd/attrib.d" between
dmd-2.093.0.tar.gz and dmd-2.093.1.tar.gz

About: DMD (Digital Mars D) is the D reference compiler. D is an object-oriented, imperative, multi-paradigm system programming language.

attrib.d  (dmd-2.093.0):attrib.d  (dmd-2.093.1)
skipping to change at line 1371 skipping to change at line 1371
} }
Expressions* getAttributes() Expressions* getAttributes()
{ {
if (auto sc = _scope) if (auto sc = _scope)
{ {
_scope = null; _scope = null;
arrayExpressionSemantic(atts, sc); arrayExpressionSemantic(atts, sc);
} }
auto exps = new Expressions(); auto exps = new Expressions();
if (userAttribDecl) if (userAttribDecl && userAttribDecl !is this)
exps.push(new TupleExp(Loc.initial, userAttribDecl.getAttributes())) ; exps.push(new TupleExp(Loc.initial, userAttribDecl.getAttributes())) ;
if (atts && atts.dim) if (atts && atts.dim)
exps.push(new TupleExp(Loc.initial, atts)); exps.push(new TupleExp(Loc.initial, atts));
return exps; return exps;
} }
override const(char)* kind() const override const(char)* kind() const
{ {
return "UserAttribute"; return "UserAttribute";
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)