aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/erl_parse.yrl
diff options
context:
space:
mode:
authorHans Bolinder <hasse@erlang.org>2013-01-22 12:45:08 +0100
committerHans Bolinder <hasse@erlang.org>2013-01-25 12:54:28 +0100
commit7d3be5bd641c99283b003c2b933e89ed68241ccf (patch)
tree2dd5361974c2d17b34910bde76c6ce06235d70c4 /lib/stdlib/src/erl_parse.yrl
parentdb770869af66309b9505d051770d8dc4d00354bf (diff)
downloadotp-7d3be5bd641c99283b003c2b933e89ed68241ccf.tar.gz
otp-7d3be5bd641c99283b003c2b933e89ed68241ccf.tar.bz2
otp-7d3be5bd641c99283b003c2b933e89ed68241ccf.zip
Export the type erl_scan:token()
The type erl_parse:token() used to be a two-tuple, but it can also be a three-tuple.
Diffstat (limited to 'lib/stdlib/src/erl_parse.yrl')
-rw-r--r--lib/stdlib/src/erl_parse.yrl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/src/erl_parse.yrl b/lib/stdlib/src/erl_parse.yrl
index 8316462989..9ff25fcbc5 100644
--- a/lib/stdlib/src/erl_parse.yrl
+++ b/lib/stdlib/src/erl_parse.yrl
@@ -2,7 +2,7 @@
%%
%% %CopyrightBegin%
%%
-%% Copyright Ericsson AB 1996-2012. All Rights Reserved.
+%% Copyright Ericsson AB 1996-2013. 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
@@ -516,7 +516,7 @@ Erlang code.
-type abstract_form() :: term().
-type error_description() :: term().
-type error_info() :: {erl_scan:line(), module(), error_description()}.
--type token() :: {Tag :: atom(), Line :: erl_scan:line()}.
+-type token() :: erl_scan:token().
%% mkop(Op, Arg) -> {op,Line,Op,Arg}.
%% mkop(Left, Op, Right) -> {op,Line,Op,Left,Right}.