Module Name: src
Committed By: christos
Date: Mon Apr 10 15:13:04 UTC 2017
Modified Files:
src/external/bsd/bc/dist: bc.y
Log Message:
Add missign % (yyerror argument is a printf format)
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/external/bsd/bc/dist/bc.y
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/bc/dist/bc.y
diff -u src/external/bsd/bc/dist/bc.y:1.1 src/external/bsd/bc/dist/bc.y:1.2
--- src/external/bsd/bc/dist/bc.y:1.1 Sun Apr 9 22:28:23 2017
+++ src/external/bsd/bc/dist/bc.y Mon Apr 10 11:13:04 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: bc.y,v 1.1 2017/04/10 02:28:23 phil Exp $ */
+/* $NetBSD: bc.y,v 1.2 2017/04/10 15:13:04 christos Exp $ */
/*
* Copyright (C) 1991-1994, 1997, 2006, 2008, 2012-2017 Free Software Foundation, Inc.
@@ -618,7 +618,7 @@ expression : named_expression ASSIGN_O
| expression '%' expression
{
if (($1 & EX_VOID) || ($3 & EX_VOID))
- yyerror ("void expression with %");
+ yyerror ("void expression with %%");
generate ("%");
$$ = ($1 | $3) & ~EX_PAREN;
}