From 152088ba9594105ddee758021e4f5428a5e710cc Mon Sep 17 00:00:00 2001 From: Kostis Sagonas Date: Fri, 12 Feb 2010 18:38:32 +0100 Subject: parsetools: Use %% for comments at the beginning of a line According to the style guidelines (and the Erlang mode for Emacs), comments at the beginning of a line should start with "%%", not "%". --- lib/parsetools/src/yeccparser.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/parsetools/src') diff --git a/lib/parsetools/src/yeccparser.erl b/lib/parsetools/src/yeccparser.erl index 7cadb0a68d..aaa2772fce 100644 --- a/lib/parsetools/src/yeccparser.erl +++ b/lib/parsetools/src/yeccparser.erl @@ -58,8 +58,8 @@ format_error(Message) -> io_lib:write(Message) end. -% To be used in grammar files to throw an error message to the parser -% toplevel. Doesn't have to be exported! +%% To be used in grammar files to throw an error message to the parser +%% toplevel. Doesn't have to be exported! -compile({nowarn_unused_function,{return_error,2}}). -spec return_error(integer(), any()) -> no_return(). return_error(Line, Message) -> -- cgit v1.2.3