[13/17] Fix spelling in comments in .l files (gdb)
Commit Message
gdb/ChangeLog:
* ada-lex.l: Fix spelling in comments.
---
gdb/ada-lex.l | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
@@ -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