aboutsummaryrefslogtreecommitdiffstats
path: root/lib/edoc/src/edoc_scanner.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-06-08 12:14:21 +0200
committerHans Bolinder <[email protected]>2016-06-08 12:43:35 +0200
commit5e7542d6f7cd1964839f6214915c7f9b7d7f8866 (patch)
treeba277c79284ef266a220097b45f8ab4a9005c25a /lib/edoc/src/edoc_scanner.erl
parent39c6338a1b671a98cc2c8d21e9ba373816e5071a (diff)
downloadotp-5e7542d6f7cd1964839f6214915c7f9b7d7f8866.tar.gz
otp-5e7542d6f7cd1964839f6214915c7f9b7d7f8866.tar.bz2
otp-5e7542d6f7cd1964839f6214915c7f9b7d7f8866.zip
edoc: Fix new Maps syntax
Diffstat (limited to 'lib/edoc/src/edoc_scanner.erl')
-rw-r--r--lib/edoc/src/edoc_scanner.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/edoc/src/edoc_scanner.erl b/lib/edoc/src/edoc_scanner.erl
index 36423d63f8..f1d5e1d4b9 100644
--- a/lib/edoc/src/edoc_scanner.erl
+++ b/lib/edoc/src/edoc_scanner.erl
@@ -146,6 +146,8 @@ scan1([$>,$>|Cs], Toks, Pos) ->
scan1(Cs, [{'>>',Pos}|Toks], Pos);
scan1([$-,$>|Cs], Toks, Pos) ->
scan1(Cs, [{'->',Pos}|Toks], Pos);
+scan1([$:,$=|Cs], Toks, Pos) ->
+ scan1(Cs, [{':=',Pos}|Toks], Pos);
scan1([$:,$:|Cs], Toks, Pos) ->
scan1(Cs, [{'::',Pos}|Toks], Pos);
scan1([$/,$/|Cs], Toks, Pos) ->