diff options
author | Björn Gustavsson <[email protected]> | 2016-03-03 12:00:07 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2016-03-03 12:00:07 +0100 |
commit | 98581d468ad9d3b8221128071c1eb8526dcc8f7e (patch) | |
tree | 047145becf30489aaa8e0cf0186c30cb2854c8ab /lib/stdlib/src/erl_parse.yrl | |
parent | 0c330d97894b214bd78ec6a2afd207a7c20c5140 (diff) | |
parent | 205405f0bf1d2fa37d4c8170c11689a2937f5d9c (diff) | |
download | otp-98581d468ad9d3b8221128071c1eb8526dcc8f7e.tar.gz otp-98581d468ad9d3b8221128071c1eb8526dcc8f7e.tar.bz2 otp-98581d468ad9d3b8221128071c1eb8526dcc8f7e.zip |
Merge branch 'bjorn/compiler/binary-comprehensions/OTP-13289'
* bjorn/compiler/binary-comprehensions/OTP-13289:
Generalize bit string comprehensions
Diffstat (limited to 'lib/stdlib/src/erl_parse.yrl')
-rw-r--r-- | lib/stdlib/src/erl_parse.yrl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/erl_parse.yrl b/lib/stdlib/src/erl_parse.yrl index b1c574ea60..6f8e5e8449 100644 --- a/lib/stdlib/src/erl_parse.yrl +++ b/lib/stdlib/src/erl_parse.yrl @@ -311,7 +311,7 @@ bit_size_expr -> expr_max : '$1'. list_comprehension -> '[' expr '||' lc_exprs ']' : {lc,?anno('$1'),'$2','$4'}. -binary_comprehension -> '<<' binary '||' lc_exprs '>>' : +binary_comprehension -> '<<' expr_max '||' lc_exprs '>>' : {bc,?anno('$1'),'$2','$4'}. lc_exprs -> lc_expr : ['$1']. lc_exprs -> lc_expr ',' lc_exprs : ['$1'|'$3']. |