From d671e293c373e529ebabc9cb58949522578f3d60 Mon Sep 17 00:00:00 2001
From: Sean Eric Fagan <sef@cygnus>
Date: Sat, 16 Nov 1991 07:24:23 +0000
Subject: [PATCH] Fixed a syntax error.

---
 gdb/c-exp.y | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index f4288187d9..bea046322d 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -1410,7 +1410,7 @@ void
 yyerror (msg)
      char *msg;
 {
-  error (error (msg ? msg : "Invalid syntax in expression.");
+  error (msg ? msg : "Invalid syntax in expression.");
 }
 
 /* Table mapping opcodes into strings for printing operators
-- 
2.42.0