aboutsummaryrefslogtreecommitdiffstats
path: root/lib/parsetools/src
diff options
context:
space:
mode:
authorKostis Sagonas <[email protected]>2010-02-12 18:38:32 +0100
committerBjörn Gustavsson <[email protected]>2010-02-16 13:24:55 +0100
commit152088ba9594105ddee758021e4f5428a5e710cc (patch)
tree1b8a4f55f69b1e09a8906d56626b99fb06325c00 /lib/parsetools/src
parentb573c21e29d3763c6950f93308cf695ac3eab9ef (diff)
downloadotp-152088ba9594105ddee758021e4f5428a5e710cc.tar.gz
otp-152088ba9594105ddee758021e4f5428a5e710cc.tar.bz2
otp-152088ba9594105ddee758021e4f5428a5e710cc.zip
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 "%".
Diffstat (limited to 'lib/parsetools/src')
-rw-r--r--lib/parsetools/src/yeccparser.erl4
1 files changed, 2 insertions, 2 deletions
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) ->