aboutsummaryrefslogtreecommitdiffstats
path: root/lib/hipe/icode/hipe_icode_fp.erl
diff options
context:
space:
mode:
authorSteve Vinoski <[email protected]>2014-03-01 14:08:02 -0500
committerSteve Vinoski <[email protected]>2014-03-04 09:22:46 -0500
commit818628634b2c8e871fa3cf524c6659b0bea05c14 (patch)
treefbb4e9e2b7cbea82a3d2b78d89764e3f8eed9797 /lib/hipe/icode/hipe_icode_fp.erl
parent2fbbc2f0d7987d15aef7b3ece116926e1215d8a3 (diff)
downloadotp-818628634b2c8e871fa3cf524c6659b0bea05c14.tar.gz
otp-818628634b2c8e871fa3cf524c6659b0bea05c14.tar.bz2
otp-818628634b2c8e871fa3cf524c6659b0bea05c14.zip
match erlang keywords more carefully
Use word boundaries in some regex matching to avoid recognizing words that begin with keywords as keywords themselves, for example avoid recognizing a function named catcher as the catch keyword. Add a regression test for this problem.
Diffstat (limited to 'lib/hipe/icode/hipe_icode_fp.erl')
0 files changed, 0 insertions, 0 deletions