diff mbox series

fix typo 'exapnded' to 'expanded'

Message ID CAEFO=4DyW1pkpQoq6vHP6mmO9GJgziPhYcUn8ZtJ0pzeg2gVMQ@mail.gmail.com
State New
Headers show
Series fix typo 'exapnded' to 'expanded' | expand

Commit Message

Giuliano Belinassi Aug. 23, 2018, 1:58 p.m. UTC
There was a small typo in the current version of trunk, more precisely
in genmatch.c and exp_unst.ads. This patch fixes it.

Changelog:

2018-08-23  Giuliano Belinassi <giuliano.belinassi@usp.br>

    * genmatch.c: Fix typo 'exapnded' to 'expanded'.
    * exp_unst.ads: Likewise.

I don't think this requires a test case :P

Comments

Richard Sandiford Aug. 23, 2018, 5:02 p.m. UTC | #1
Giuliano Augusto Faulin Belinassi <giuliano.belinassi@usp.br> writes:
> There was a small typo in the current version of trunk, more precisely
> in genmatch.c and exp_unst.ads. This patch fixes it.
>
> Changelog:
>
> 2018-08-23  Giuliano Belinassi <giuliano.belinassi@usp.br>
>
>     * genmatch.c: Fix typo 'exapnded' to 'expanded'.
>     * exp_unst.ads: Likewise.

Applied. thanks.

Richard

PS. gcc/ and gcc/ada/ have separate changelogs, so I used:

2018-08-23  Giuliano Belinassi  <giuliano.belinassi@usp.br>

gcc/
	* genmatch.c (parser::parse_operation): Fix typo 'exapnded'
	to 'expanded'.

gcc/ada/
	* exp_unst.ads: Fix typo 'exapnded' to 'expanded'.
diff mbox series

Patch

Index: gcc/ada/exp_unst.ads
===================================================================
--- gcc/ada/exp_unst.ads	(revisão 263813)
+++ gcc/ada/exp_unst.ads	(cópia de trabalho)
@@ -477,7 +477,7 @@ 
    --  subprograms exist. Similarly overloading would cause a naming issue.
 
    --  In fact, the expanded code includes qualified names which eliminate this
-   --  problem. We omitted the qualification from the exapnded examples above
+   --  problem. We omitted the qualification from the expanded examples above
    --  for simplicity. But to see this in action, consider this example:
 
    --    function Mnames return Boolean is
Index: gcc/genmatch.c
===================================================================
--- gcc/genmatch.c	(revisão 263813)
+++ gcc/genmatch.c	(cópia de trabalho)
@@ -4150,7 +4150,7 @@ 
       if (active_fors.length() == 0)
 	record_operlist (id_tok->src_loc, p);
       else
-	fatal_at (id_tok, "operator-list %s cannot be exapnded inside 'for'", id);
+	fatal_at (id_tok, "operator-list %s cannot be expanded inside 'for'", id);
     }
   return op;
 }