diff options
author | Christopher Faulet <[email protected]> | 2009-12-04 21:58:10 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2010-02-01 16:18:23 +0100 |
commit | 5023556e555fd99d6b5bbe77707066371e38abd7 (patch) | |
tree | 981029a357ac0e679bc353fa4936d59a98625d4d /lib/stdlib/src/supervisor.erl | |
parent | 0d15f8ab1293a611831840df75ea40eee41b86a2 (diff) | |
download | otp-5023556e555fd99d6b5bbe77707066371e38abd7.tar.gz otp-5023556e555fd99d6b5bbe77707066371e38abd7.tar.bz2 otp-5023556e555fd99d6b5bbe77707066371e38abd7.zip |
epp: Add support of macros overloading
This feature simplifies the definition of macros by avoiding to have a
different name for each version (with different arities) of the same
macros. New rules:
- can have multiple definitions of the same macro with different arities
- cannot overload macro with the same arity
- the overloading of predefined macros (?MODULE, ?LINE, ...) is forbidden
- the directive '-undef' removes all definitions of a macro
Diffstat (limited to 'lib/stdlib/src/supervisor.erl')
0 files changed, 0 insertions, 0 deletions