This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 13/17] Fix spelling in comments in .l files (gdb)
- From: Ambrogino Modigliani <ambrogino dot modigliani at gmail dot com>
- To: gdb-patches at sourceware dot org, pedro_alves at portugalmail dot pt, ambrogino dot modigliani at gmail dot com, ambrogino dot modigliani at mail dot com
- Date: Fri, 25 Nov 2016 20:46:39 +0100
- Subject: [PATCH 13/17] Fix spelling in comments in .l files (gdb)
- Authentication-results: sourceware.org; auth=none
- References: <1480103203-9710-1-git-send-email-ambrogino.modigliani@mail.com>
gdb/ChangeLog:
* ada-lex.l: Fix spelling in comments.
---
gdb/ada-lex.l | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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
--
2.7.4