aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/epp.erl
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2015-10-06 15:08:57 +0200
committerHans Bolinder <[email protected]>2015-10-08 15:09:28 +0200
commit3224c9b0b7022ccf2483af95f4efd8a6b6234f47 (patch)
treeb9811fdf7782a0847f1a5da787752616e865a365 /lib/stdlib/src/epp.erl
parent6e93fb788aebb9050da2166749b41ff54197e049 (diff)
downloadotp-3224c9b0b7022ccf2483af95f4efd8a6b6234f47.tar.gz
otp-3224c9b0b7022ccf2483af95f4efd8a6b6234f47.tar.bz2
otp-3224c9b0b7022ccf2483af95f4efd8a6b6234f47.zip
Update Kernel and STDLIB
Record field types have been modified due to commit 8ce35b2: "Take out automatic insertion of 'undefined' from typed record fields".
Diffstat (limited to 'lib/stdlib/src/epp.erl')
-rw-r--r--lib/stdlib/src/epp.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/stdlib/src/epp.erl b/lib/stdlib/src/epp.erl
index d3124ac593..c8bba579cc 100644
--- a/lib/stdlib/src/epp.erl
+++ b/lib/stdlib/src/epp.erl
@@ -49,7 +49,8 @@
-define(DEFAULT_ENCODING, utf8).
%% Epp state record.
--record(epp, {file :: file:io_device(), %Current file
+-record(epp, {file :: file:io_device()
+ | 'undefined', %Current file
location=1, %Current location
delta=0 :: non_neg_integer(), %Offset from Location (-file)
name="" :: file:name(), %Current file name