Change empty function port list message

This commit is contained in:
Cary R 2023-09-03 17:35:38 -07:00
parent 64cfd681af
commit c6fe0106cb
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
%{
/*
* Copyright (c) 1998-2022 Stephen Williams (steve@icarus.com)
* Copyright (c) 1998-2023 Stephen Williams (steve@icarus.com)
* Copyright CERN 2012-2013 / Stephen Williams (steve@icarus.com)
*
* This source code is free software; you can redistribute it
@ -1577,7 +1577,7 @@ function_declaration /* IEEE1800-2005: A.2.6 */
pform_pop_scope();
current_function = 0;
if ($7 == 0) {
pform_requires_sv(@4, "Empty parenthesis syntax");
pform_requires_sv(@4, "Functions with no ports");
}
}
label_opt