aboutsummaryrefslogtreecommitdiffstats
path: root/lib/parsetools/src/yecc.erl
diff options
context:
space:
mode:
authorRichard Carlsson <[email protected]>2018-04-17 20:16:14 +0200
committerRichard Carlsson <[email protected]>2018-05-04 10:27:20 +0200
commit3fd01b76d6940e6f161608d728a6bc679f1c9835 (patch)
treec29dba2403ffe5a719ee74278120334cbb8480b8 /lib/parsetools/src/yecc.erl
parenta71c186fcc9e4592016c1b2c146db7b70ee0755a (diff)
downloadotp-3fd01b76d6940e6f161608d728a6bc679f1c9835.tar.gz
otp-3fd01b76d6940e6f161608d728a6bc679f1c9835.tar.bz2
otp-3fd01b76d6940e6f161608d728a6bc679f1c9835.zip
Use \n escape instead of integer 10
Diffstat (limited to 'lib/parsetools/src/yecc.erl')
-rw-r--r--lib/parsetools/src/yecc.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parsetools/src/yecc.erl b/lib/parsetools/src/yecc.erl
index fbffd228ea..ce1b9468fd 100644
--- a/lib/parsetools/src/yecc.erl
+++ b/lib/parsetools/src/yecc.erl
@@ -460,7 +460,7 @@ os_process_size() ->
0
end.
-nonl([10]) -> [];
+nonl([$\n]) -> [];
nonl([]) -> [];
nonl([H|T]) -> [H|nonl(T)].