From 08e2d74ac0957a1a274be359d50d601a21d3ef0d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= Date: Sat, 13 Feb 2010 10:19:55 +0100 Subject: parsetools: Replace TABs with spaces The files in the parsetools application are supposed to be indented using spaces only. Remove the stray TABs that somehow have crept in. --- lib/parsetools/include/yeccpre.hrl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/parsetools/include/yeccpre.hrl') diff --git a/lib/parsetools/include/yeccpre.hrl b/lib/parsetools/include/yeccpre.hrl index 2ffa13d6a7..ceaf06f0f7 100644 --- a/lib/parsetools/include/yeccpre.hrl +++ b/lib/parsetools/include/yeccpre.hrl @@ -37,10 +37,10 @@ parse_and_scan({M, F, A}) -> -spec(format_error/1 :: (any()) -> [char() | list()]). format_error(Message) -> case io_lib:deep_char_list(Message) of - true -> - Message; - _ -> - io_lib:write(Message) + true -> + Message; + _ -> + io_lib:write(Message) end. % To be used in grammar files to throw an error message to the parser @@ -85,7 +85,7 @@ yeccpars1([Token | Tokens], Tzr, State, States, Vstack) -> yeccpars1([], {{F, A},_Line}, State, States, Vstack) -> case apply(F, A) of {ok, Tokens, Endline} -> - yeccpars1(Tokens, {{F, A}, Endline}, State, States, Vstack); + yeccpars1(Tokens, {{F, A}, Endline}, State, States, Vstack); {eof, Endline} -> yeccpars1([], {no_func, Endline}, State, States, Vstack); {error, Descriptor, _Endline} -> -- cgit v1.2.3