This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 18/23] Fix spelling mistakes in comments in .l files


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
-- 
2.7.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]