diff options
author | Patrik Nyblom <[email protected]> | 2010-12-21 14:59:37 +0100 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2010-12-21 14:59:45 +0100 |
commit | 1f6da3e44fac8e573266b9b32ecf24855d3ac124 (patch) | |
tree | 8780be20e5895a705cd14064abb83bf9af71571b /lib/stdlib/src/epp.erl | |
parent | ea42e018f6495b3443fa97c8239f3d1831e3cebf (diff) | |
parent | 8f15f156e539aaa6d69acc28d527ef6da94d40d3 (diff) | |
download | otp-1f6da3e44fac8e573266b9b32ecf24855d3ac124.tar.gz otp-1f6da3e44fac8e573266b9b32ecf24855d3ac124.tar.bz2 otp-1f6da3e44fac8e573266b9b32ecf24855d3ac124.zip |
Merge branch 'pan/r14b01-dialyzer-type-corrections' into dev
* pan/r14b01-dialyzer-type-corrections:
Removed dead code
Remove dead code (and dialyzer errors) from filename and re
Set types correctly for open_port({spawn_executable, ...
OTP-9008
Diffstat (limited to 'lib/stdlib/src/epp.erl')
-rw-r--r-- | lib/stdlib/src/epp.erl | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/stdlib/src/epp.erl b/lib/stdlib/src/epp.erl index e5ccaddbb4..d4844b8c1e 100644 --- a/lib/stdlib/src/epp.erl +++ b/lib/stdlib/src/epp.erl @@ -427,10 +427,7 @@ scan_toks(From, St) -> epp_reply(From, {error,E}), wait_req_scan(St#epp{location=Cl}); {eof,Cl} -> - leave_file(From, St#epp{location=Cl}); - {error,_E} -> - epp_reply(From, {error,{St#epp.location,epp,cannot_parse}}), - leave_file(wait_request(St), St) %This serious, just exit! + leave_file(From, St#epp{location=Cl}) end. scan_toks([{'-',_Lh},{atom,_Ld,define}=Define|Toks], From, St) -> @@ -811,10 +808,7 @@ skip_toks(From, St, [I|Sis]) -> {error,_E,Cl} -> skip_toks(From, St#epp{location=Cl}, [I|Sis]); {eof,Cl} -> - leave_file(From, St#epp{location=Cl,istk=[I|Sis]}); - {error,_E} -> - epp_reply(From, {error,{St#epp.location,epp,cannot_parse}}), - leave_file(wait_request(St), St) %This serious, just exit! + leave_file(From, St#epp{location=Cl,istk=[I|Sis]}) end; skip_toks(From, St, []) -> scan_toks(From, St). |