Mercurial > projects > ldc
view gen/warnings.h @ 1647:638a823ace45
Strange workaround for returning from within 'void main()'. The new dmdfe sets the ReturnStatement->exp to null. Fixed bug #391.
author | Kelly Wilson <wilsonk cpsc.ucalgary.ca> |
---|---|
date | Wed, 10 Mar 2010 19:35:14 -0700 |
parents | a591aa6bd6dc |
children |
line wrap: on
line source
#ifndef __LDC_GEN_WARNINGS_H__ #define __LDC_GEN_WARNINGS_H__ void warnInvalidPrintfCall(Loc loc, Expression* arguments, size_t nargs); #endif // __LDC_GEN_WARNINGS_H__