Add missing precedence of the operator '|>'

This commit is contained in:
Gaith Hallak 2022-08-03 19:31:44 +04:00
parent 94511290d0
commit be3cb5cc76

View File

@ -430,6 +430,7 @@ lc_bind(Let) ->
bin_prec('..') -> { 0, 0, 0}; %% Always printed inside '[ ]'
bin_prec('=') -> { 0, 0, 0}; %% Always printed inside '[ ]'
bin_prec('@') -> { 0, 0, 0}; %% Only in error messages
bin_prec('|>') -> {150, 150, 200};
bin_prec('||') -> {200, 300, 200};
bin_prec('&&') -> {300, 400, 300};
bin_prec('<') -> {400, 500, 500};