From 3fd01b76d6940e6f161608d728a6bc679f1c9835 Mon Sep 17 00:00:00 2001 From: Richard Carlsson Date: Tue, 17 Apr 2018 20:16:14 +0200 Subject: Use \n escape instead of integer 10 --- lib/parsetools/src/yecc.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/parsetools') 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)]. -- cgit v1.2.3