aboutsummaryrefslogtreecommitdiffstats
path: root/lib/syntax_tools/src
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2014-05-14 17:22:31 +0200
committerBjörn-Egil Dahlberg <[email protected]>2014-05-14 17:22:31 +0200
commite5ea301e8d8a6c0dac6c527311250e31670e7c3b (patch)
treee3b84b911e3efb60a006c33d60212ee5772ed808 /lib/syntax_tools/src
parent557ac6b188521182889a6687918ca85929fd883b (diff)
parenta0cea0422fbaf6c9eb896fbb6e4f032f2546e903 (diff)
downloadotp-e5ea301e8d8a6c0dac6c527311250e31670e7c3b.tar.gz
otp-e5ea301e8d8a6c0dac6c527311250e31670e7c3b.tar.bz2
otp-e5ea301e8d8a6c0dac6c527311250e31670e7c3b.zip
Merge branch 'maint'
Diffstat (limited to 'lib/syntax_tools/src')
-rw-r--r--lib/syntax_tools/src/erl_syntax.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/syntax_tools/src/erl_syntax.erl b/lib/syntax_tools/src/erl_syntax.erl
index 2576d227df..7f1e7dda31 100644
--- a/lib/syntax_tools/src/erl_syntax.erl
+++ b/lib/syntax_tools/src/erl_syntax.erl
@@ -2071,7 +2071,7 @@ map_field_assoc_value(Node) ->
{map_field_assoc, _, _, Value} ->
Value;
_ ->
- (data(Node))#map_field_assoc.name
+ (data(Node))#map_field_assoc.value
end.
@@ -2129,7 +2129,7 @@ map_field_exact_value(Node) ->
{map_field_exact, _, _, Value} ->
Value;
_ ->
- (data(Node))#map_field_exact.name
+ (data(Node))#map_field_exact.value
end.