aboutsummaryrefslogtreecommitdiffstats
path: root/lib/parsetools/src/yeccparser.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/parsetools/src/yeccparser.erl')
-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) ->