From ebf504421b4bd2faa795682071322a6d523a33f3 Mon Sep 17 00:00:00 2001 From: Juan Facorro Date: Thu, 27 Aug 2015 15:08:02 -0300 Subject: [PATCH] [#69] Fixed typo --- src/ktn_code.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ktn_code.erl b/src/ktn_code.erl index e41b4ed..1ae7a8f 100644 --- a/src/ktn_code.erl +++ b/src/ktn_code.erl @@ -116,7 +116,7 @@ parse_tree(IncludeDirs, Source) -> token_to_map({Type, Attrs}) -> #{type => Type, attrs => #{text => get_text(Attrs), - locations => get_location(Attrs)}}; + location => get_location(Attrs)}}; token_to_map({Type, Attrs, Value}) -> Map = token_to_map({Type, Attrs}), Map#{value => Value}.