From patchwork Sun Nov 20 15:06:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ambrogino Modigliani X-Patchwork-Id: 17609 Received: (qmail 77368 invoked by alias); 20 Nov 2016 15:07:06 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 76988 invoked by uid 89); 20 Nov 2016 15:07:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=no version=3.3.2 spammy=*s2, *s1, adalexl, UD:ada-lex.l X-HELO: mail-wm0-f66.google.com Received: from mail-wm0-f66.google.com (HELO mail-wm0-f66.google.com) (74.125.82.66) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 20 Nov 2016 15:07:03 +0000 Received: by mail-wm0-f66.google.com with SMTP id m203so19730107wma.3 for ; Sun, 20 Nov 2016 07:07:02 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=+U3UJhZ3kU4OPXOFOiMXxToHadxlxvVB2VUsQldYIHo=; b=kxTQhoGQ4VaPlaFN3h1zZSHwhtU59B4JqELAlsstp3cSKSoKf4Zyjth1hXt1KNIFsJ Oj37T7YLqPdrf9c5SX7cQiJLFDU7sEXLZRncZhK5XDZctAK+6eE6Uz90EswUIxXJMWda GvDKwYgy8avkhQtNXmJF2rk0R6fHmmHbkvvrgqfhuDMjpSSv8br+8vOkZV8YL0zk+CHI LBI6F8P7DSUXADjR3CGQBgQJaoYUwCPrEt2JX1Va7XDCwb+45YSM/6qqDEnXYBx6NYZZ XE1F0th0M3fXyJKmyAqdfW7ivIRJG6UdtuH579zGvEwVdZ2cpzOCFNPdXdWKCvtBdWAW tDJw== X-Gm-Message-State: AKaTC02L05LcbeGHSTOkuLAzDtZMcRAtAwTLx88SLLL2BVQUTq/h7465XpFKpK+10lioJw== X-Received: by 10.28.184.23 with SMTP id i23mr9479426wmf.66.1479654420694; Sun, 20 Nov 2016 07:07:00 -0800 (PST) Received: from localhost.localdomain ([95.180.71.38]) by smtp.googlemail.com with ESMTPSA id v2sm19793444wja.41.2016.11.20.07.06.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 20 Nov 2016 07:07:00 -0800 (PST) From: Ambrogino Modigliani X-Google-Original-From: Ambrogino Modigliani To: gdb-patches@sourceware.org, pedro_alves@portugalmail.pt Subject: [PATCH 15/20] Fix spelling mistakes in comments in .l files Date: Sun, 20 Nov 2016 16:06:16 +0100 Message-Id: <1479654381-20698-16-git-send-email-ambrogino.modigliani@mail.com> In-Reply-To: <1479654381-20698-1-git-send-email-ambrogino.modigliani@mail.com> References: <1479654381-20698-1-git-send-email-ambrogino.modigliani@mail.com> gas/ChangeLog: * gas/config/bfin-lex.l: Fix spelling in comments. gdb/ChangeLog: * gdb/ada-lex.l: Fix spelling in comments. --- gas/config/bfin-lex.l | 2 +- gdb/ada-lex.l | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gas/config/bfin-lex.l b/gas/config/bfin-lex.l index 04fda4c..cb18469 100644 --- a/gas/config/bfin-lex.l +++ b/gas/config/bfin-lex.l @@ -362,7 +362,7 @@ static long parse_int (char **end) fmt = 'd'; break; - case '0': /* Accept different formated integers hex octal and binary. */ + case '0': /* Accept different formatted integers hex octal and binary. */ { char c = *++arg; arg++; diff --git a/gdb/ada-lex.l b/gdb/ada-lex.l index 03204ff..05e663d 100644 --- a/gdb/ada-lex.l +++ b/gdb/ada-lex.l @@ -320,7 +320,7 @@ canonicalizeNumeral (char *s1, const char *s2) /* Interprets the prefix of NUM that consists of digits of the given BASE as an integer of that BASE, with the string EXP as an exponent. Puts value in yylval, and returns INT, if the string is valid. Causes - an error if the number is improperly formated. BASE, if NULL, defaults + an error if the number is improperly formatted. BASE, if NULL, defaults to "10", and EXP to "1". The EXP does not contain a leading 'e' or 'E'. */ @@ -414,7 +414,7 @@ processReal (struct parser_state *par_state, const char *num0) NAME0 contains the substring "___", it is assumed to be already encoded and the resulting name is equal to it. Otherwise, it differs from NAME0 in that: - + Characters between '...' or <...> are transfered verbatim to + + Characters between '...' or <...> are transferred verbatim to yylval.ssym. + <, >, and trailing "'" characters in quoted sequences are removed (a leading quote is preserved to indicate that the name is not to be