[13/17] Fix spelling in comments in .l files (gdb)

Message ID 1480103203-9710-14-git-send-email-ambrogino.modigliani@mail.com
State New, archived
Headers

Commit Message

Ambrogino Modigliani Nov. 25, 2016, 7:46 p.m. UTC
  gdb/ChangeLog:

	* ada-lex.l: Fix spelling in comments.
---
 gdb/ada-lex.l | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Patch

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