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 20/20] Fix spelling mistakes in comments in .y files


binutils/ChangeLog:

        * binutils/arparse.y: Fix spelling in comments.

gdb/ChangeLog:

        * gdb/c-exp.y: Fix spelling in comments.
        * gdb/cp-name-parser.y: Fix spelling in comments.
        * gdb/d-exp.y: Fix spelling in comments.
        * gdb/f-exp.y: Fix spelling in comments.
        * gdb/go-exp.y: Fix spelling in comments.
        * gdb/p-exp.y: Fix spelling in comments.

ld/ChangeLog:

        * ld/deffilep.y: Fix spelling in comments.
---
 binutils/arparse.y   | 2 +-
 gdb/c-exp.y          | 2 +-
 gdb/cp-name-parser.y | 2 +-
 gdb/d-exp.y          | 2 +-
 gdb/f-exp.y          | 2 +-
 gdb/go-exp.y         | 2 +-
 gdb/p-exp.y          | 2 +-
 ld/deffilep.y        | 4 ++--
 8 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/binutils/arparse.y b/binutils/arparse.y
index 9b2fefb..0048621 100644
--- a/binutils/arparse.y
+++ b/binutils/arparse.y
@@ -1,5 +1,5 @@
 %{
-/* arparse.y - Stange script language parser */
+/* arparse.y - Strange script language parser */
 
 /* Copyright (C) 1992-2016 Free Software Foundation, Inc.
 
diff --git a/gdb/c-exp.y b/gdb/c-exp.y
index f08bb69..ea7e2ec 100644
--- a/gdb/c-exp.y
+++ b/gdb/c-exp.y
@@ -2524,7 +2524,7 @@ lex_one_token (struct parser_state *par_state, int *is_quoted_name)
 	    last_was_structop = 1;
 	  goto symbol;		/* Nope, must be a symbol. */
 	}
-      /* FALL THRU into number case.  */
+      /* FALL THROUGH into number case.  */
 
     case '0':
     case '1':
diff --git a/gdb/cp-name-parser.y b/gdb/cp-name-parser.y
index c6a5c34..a1b427a 100644
--- a/gdb/cp-name-parser.y
+++ b/gdb/cp-name-parser.y
@@ -1673,7 +1673,7 @@ yylex (void)
 	  lexptr++;
 	  return '-';
 	}
-      /* FALL THRU into number case.  */
+      /* FALL THROUGH into number case.  */
 
     try_number:
     case '0':
diff --git a/gdb/d-exp.y b/gdb/d-exp.y
index 426f9b3..b8de4f5 100644
--- a/gdb/d-exp.y
+++ b/gdb/d-exp.y
@@ -1123,7 +1123,7 @@ lex_one_token (struct parser_state *par_state)
 	    last_was_structop = 1;
 	  goto symbol;		/* Nope, must be a symbol.  */
 	}
-      /* FALL THRU into number case.  */
+      /* FALL THROUGH into number case.  */
 
     case '0':
     case '1':
diff --git a/gdb/f-exp.y b/gdb/f-exp.y
index 420f18e..b553736 100644
--- a/gdb/f-exp.y
+++ b/gdb/f-exp.y
@@ -1006,7 +1006,7 @@ yylex (void)
       /* Might be a floating point number.  */
       if (lexptr[1] < '0' || lexptr[1] > '9')
 	goto symbol;		/* Nope, must be a symbol.  */
-      /* FALL THRU into number case.  */
+      /* FALL THROUGH into number case.  */
       
     case '0':
     case '1':
diff --git a/gdb/go-exp.y b/gdb/go-exp.y
index 1b0fe5b..1795b97 100644
--- a/gdb/go-exp.y
+++ b/gdb/go-exp.y
@@ -1089,7 +1089,7 @@ lex_one_token (struct parser_state *par_state)
 	    last_was_structop = 1;
 	  goto symbol;		/* Nope, must be a symbol. */
 	}
-      /* FALL THRU into number case.  */
+      /* FALL THROUGH into number case.  */
 
     case '0':
     case '1':
diff --git a/gdb/p-exp.y b/gdb/p-exp.y
index fa6b22c..260f162 100644
--- a/gdb/p-exp.y
+++ b/gdb/p-exp.y
@@ -1211,7 +1211,7 @@ yylex (void)
 	  goto symbol;		/* Nope, must be a symbol.  */
 	}
 
-      /* FALL THRU into number case.  */
+      /* FALL THROUGH into number case.  */
 
     case '0':
     case '1':
diff --git a/ld/deffilep.y b/ld/deffilep.y
index 837de0e..302016c 100644
--- a/ld/deffilep.y
+++ b/ld/deffilep.y
@@ -904,8 +904,8 @@ def_file_add_directive (def_file *my_def, const char *param, int len)
       /* Scan forward until we encounter any of:
           - the end of the buffer
 	  - the start of a new option
-	  - a newline seperating options
-          - a NUL seperating options.  */
+	  - a newline separating options
+          - a NUL separating options.  */
       for (tend = (char *) (param + 1);
 	   (tend < pend
 	    && !(ISSPACE (tend[-1]) && *tend == '-')
-- 
2.7.4


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