"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/dmd/statement.d" between
dmd-2.094.1.tar.gz and dmd-2.094.2.tar.gz

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

statement.d  (dmd-2.094.1):statement.d  (dmd-2.094.2)
skipping to change at line 47 skipping to change at line 47
import dmd.expressionsem; import dmd.expressionsem;
import dmd.func; import dmd.func;
import dmd.globals; import dmd.globals;
import dmd.hdrgen; import dmd.hdrgen;
import dmd.id; import dmd.id;
import dmd.identifier; import dmd.identifier;
import dmd.dinterpret; import dmd.dinterpret;
import dmd.mtype; import dmd.mtype;
import dmd.parse; import dmd.parse;
import dmd.root.outbuffer; import dmd.root.outbuffer;
import dmd.root.rmem;
import dmd.root.rootobject; import dmd.root.rootobject;
import dmd.sapply; import dmd.sapply;
import dmd.sideeffect; import dmd.sideeffect;
import dmd.staticassert; import dmd.staticassert;
import dmd.tokens; import dmd.tokens;
import dmd.visitor; import dmd.visitor;
/** /**
* Returns: * Returns:
* `TypeIdentifier` corresponding to `object.Throwable` * `TypeIdentifier` corresponding to `object.Throwable`
*/ */
TypeIdentifier getThrowable() TypeIdentifier getThrowable()
{ {
auto tid = Pool!TypeIdentifier.make(Loc.initial, Id.empty); auto tid = new TypeIdentifier(Loc.initial, Id.empty);
tid.addIdent(Id.object); tid.addIdent(Id.object);
tid.addIdent(Id.Throwable); tid.addIdent(Id.Throwable);
return tid; return tid;
} }
/** /**
* Returns: * Returns:
* TypeIdentifier corresponding to `object.Exception` * TypeIdentifier corresponding to `object.Exception`
*/ */
TypeIdentifier getException() TypeIdentifier getException()
{ {
auto tid = Pool!TypeIdentifier.make(Loc.initial, Id.empty); auto tid = new TypeIdentifier(Loc.initial, Id.empty);
tid.addIdent(Id.object); tid.addIdent(Id.object);
tid.addIdent(Id.Exception); tid.addIdent(Id.Exception);
return tid; return tid;
} }
/******************************** /********************************
* Identify Statement types with this enum rather than * Identify Statement types with this enum rather than
* virtual functions. * virtual functions.
*/ */
 End of changes. 3 change blocks. 
3 lines changed or deleted 2 lines changed or added

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