aboutsummaryrefslogtreecommitdiffstats
path: root/bootstrap/lib/kernel
diff options
context:
space:
mode:
authorAnthony Ramine <[email protected]>2013-06-08 13:17:11 +0200
committerAnthony Ramine <[email protected]>2013-06-10 12:18:01 +0200
commit3011d16bfcff0dbdd369d4701751ab106dde100f (patch)
treed3a7946745c6fd0208cfca76929060775610ba9b /bootstrap/lib/kernel
parenta49832f74d364e01d9fb7a98caf3ca942a0a0341 (diff)
downloadotp-3011d16bfcff0dbdd369d4701751ab106dde100f.tar.gz
otp-3011d16bfcff0dbdd369d4701751ab106dde100f.tar.bz2
otp-3011d16bfcff0dbdd369d4701751ab106dde100f.zip
Wrap eunit macros into begin ... end blocks
This makes typos such as missing commas between two assertions (e.g. ?assert(true) ?assert(true)) syntax errors instead of silently compiling and failing with a badfun error at runtime. This won't break any existing code as parenthesed expressions and blocks have the same precedence and none of these macros can be used as patterns.
Diffstat (limited to 'bootstrap/lib/kernel')
0 files changed, 0 insertions, 0 deletions