aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/erl_scan.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2014-10-24 10:15:25 +0200
committerHans Bolinder <[email protected]>2014-11-20 08:57:25 +0100
commiteaa4be863f11eb905e3fa379aabe303abf1cb786 (patch)
treeaeb6bfd2a6a6062818686647caf5cae86f862403 /lib/stdlib/src/erl_scan.erl
parent71ec59a0d9c89a2dedcdca29844d037c01623fb9 (diff)
downloadotp-eaa4be863f11eb905e3fa379aabe303abf1cb786.tar.gz
otp-eaa4be863f11eb905e3fa379aabe303abf1cb786.tar.bz2
otp-eaa4be863f11eb905e3fa379aabe303abf1cb786.zip
stdlib: remove the last traces of Mnemosyne Rules
Robert has OK'ed the removal of the token ':-'.
Diffstat (limited to 'lib/stdlib/src/erl_scan.erl')
-rw-r--r--lib/stdlib/src/erl_scan.erl5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/stdlib/src/erl_scan.erl b/lib/stdlib/src/erl_scan.erl
index 6fd6bb888b..4960a86760 100644
--- a/lib/stdlib/src/erl_scan.erl
+++ b/lib/stdlib/src/erl_scan.erl
@@ -1,7 +1,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2013. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2014. All Rights Reserved.
%%
%% The contents of this file are subject to the Erlang Public License,
%% Version 1.1, (the "License"); you may not use this file except in
@@ -599,9 +599,6 @@ scan1("|"=Cs, _St, Line, Col, Toks) ->
%% :=
scan1(":="++Cs, St, Line, Col, Toks) ->
tok2(Cs, St, Line, Col, Toks, ":=", ':=', 2);
-%% :-
-scan1(":-"++Cs, St, Line, Col, Toks) ->
- tok2(Cs, St, Line, Col, Toks, ":-", ':-', 2);
%% :: for typed records
scan1("::"++Cs, St, Line, Col, Toks) ->
tok2(Cs, St, Line, Col, Toks, "::", '::', 2);