diff --git a/usr.bin/xlint/lint1/cgram.y b/usr.bin/xlint/lint1/cgram.y index 6ce3a6976991..0a2fec3e2c8c 100644 --- a/usr.bin/xlint/lint1/cgram.y +++ b/usr.bin/xlint/lint1/cgram.y @@ -1,5 +1,5 @@ %{ -/* $NetBSD: cgram.y,v 1.491 2024/03/09 13:54:47 rillig Exp $ */ +/* $NetBSD: cgram.y,v 1.492 2024/03/27 21:14:09 rillig Exp $ */ /* * Copyright (c) 1996 Christopher G. Demetriou. All Rights Reserved. @@ -35,7 +35,7 @@ #include #if defined(__RCSID) -__RCSID("$NetBSD: cgram.y,v 1.491 2024/03/09 13:54:47 rillig Exp $"); +__RCSID("$NetBSD: cgram.y,v 1.492 2024/03/27 21:14:09 rillig Exp $"); #endif #include @@ -651,6 +651,7 @@ argument_expression_list: add_function_argument($$, $1); } | argument_expression_list T_COMMA assignment_expression { + $$ = $1; add_function_argument($1, $3); } ;