"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/dmd/cond.d" between
dmd-2.095.0.tar.gz and dmd-2.095.1.tar.gz

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

cond.d  (dmd-2.095.0):cond.d  (dmd-2.095.1)
skipping to change at line 958 skipping to change at line 958
} }
/**************************************** /****************************************
* Find `ident` in an array of identifiers. * Find `ident` in an array of identifiers.
* Params: * Params:
* ids = array of identifiers * ids = array of identifiers
* ident = identifier to search for * ident = identifier to search for
* Returns: * Returns:
* true if found * true if found
*/ */
bool findCondition(Identifiers* ids, Identifier ident) bool findCondition(Identifiers* ids, Identifier ident) @safe nothrow pure
{ {
if (ids) if (ids)
{ {
foreach (id; *ids) foreach (id; *ids)
{ {
if (id == ident) if (id == ident)
return true; return true;
} }
} }
return false; return false;
 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)