From patchwork Sun Feb 9 15:01:58 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Prathamesh Kulkarni X-Patchwork-Id: 318609 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 859CB2C00A4 for ; Mon, 10 Feb 2014 02:02:10 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; q= dns; s=default; b=f+45BUMHM6X0x/cmQ/cmuMc27xkQItsMtHCJKq6Bms9gIw Huul/QTxlMQTMu80imqaLuFGODammm+I8UT3JoVkcEvm5luqNs1SfFpg7QqAI6pu dJBB1Y50eosF2uK4nevBFHnqZkXsRr3aU/fSpwpVewiaU5bEMbVWTQWw9I0LY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:date:message-id:subject:from:to:content-type; s= default; bh=gtp5/7e7rfoH6wdkXx/T0mI4+KE=; b=PjLT8/nmEe5LVSEELMnE d4CjfMVBvtH4jgxF5158euNTGEuJFXFRjMfYXD+U6G85umkINFXvb6bVY4f9bw+P lSDwnN9Gpvza3prlvHPZmT1OyjeYf0fmRgvkP1b5SMdqpoYLTlP0VnleidZSUxa6 C0IQBwF/50Rg23tX15hXUsc= Received: (qmail 24936 invoked by alias); 9 Feb 2014 15:02:03 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 24924 invoked by uid 89); 9 Feb 2014 15:02:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-oa0-f48.google.com Received: from mail-oa0-f48.google.com (HELO mail-oa0-f48.google.com) (209.85.219.48) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sun, 09 Feb 2014 15:02:00 +0000 Received: by mail-oa0-f48.google.com with SMTP id l6so6353988oag.21 for ; Sun, 09 Feb 2014 07:01:58 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.182.88.69 with SMTP id be5mr726178obb.55.1391958118676; Sun, 09 Feb 2014 07:01:58 -0800 (PST) Received: by 10.182.162.36 with HTTP; Sun, 9 Feb 2014 07:01:58 -0800 (PST) Date: Sun, 9 Feb 2014 20:31:58 +0530 Message-ID: Subject: print quotes around ) From: Prathamesh Kulkarni To: gcc-patches@gcc.gnu.org, "Joseph S. Myers" X-IsSubscribed: yes A trivial fix to print quotes around ) in libcpp/macro.c OK for trunk ? * macro.c (parse_params): print quote around ) in call to cpp_error() in case CPP_EOF Index: libcpp/macro.c =================================================================== --- libcpp/macro.c (revision 207627) +++ libcpp/macro.c (working copy) @@ -2815,7 +2815,7 @@ parse_params (cpp_reader *pfile, cpp_mac /* Fall through. */ case CPP_EOF: - cpp_error (pfile, CPP_DL_ERROR, "missing ')' in macro parameter list"); + cpp_error (pfile, CPP_DL_ERROR, "missing %<)%> in macro parameter list"); return false; } }