From c6fe0106cbe6b4698258d14b66c03955edea34b8 Mon Sep 17 00:00:00 2001 From: Cary R Date: Sun, 3 Sep 2023 17:35:38 -0700 Subject: [PATCH] Change empty function port list message --- parse.y | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parse.y b/parse.y index 1aa5f0105..66f98064c 100644 --- a/parse.y +++ b/parse.y @@ -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