poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Remove some greengrocers' apostrophes


From: Jose E. Marchesi
Subject: Re: [PATCH] Remove some greengrocers' apostrophes
Date: Sat, 09 May 2020 09:39:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hi John.
OK for master.
Thanks!


    ---
     HACKING              | 8 ++++----
     libpoke/pkl-asm.c    | 2 +-
     libpoke/pkl-ast.c    | 2 +-
     libpoke/pkl-gen.c    | 2 +-
     libpoke/pkl-trans.c  | 2 +-
     libpoke/pkl-typify.c | 6 +++---
     poke/pk-ios.c        | 2 +-
     7 files changed, 12 insertions(+), 12 deletions(-)
    
    diff --git a/HACKING b/HACKING
    index 6aef57e6..4992188c 100644
    --- a/HACKING
    +++ b/HACKING
    @@ -551,7 +551,7 @@ However, this is not a good idea.  If some of the 
"subtests" fail, it
     becomes difficult to determine which one is the culprit looking at the
     test log file.
     
    -It is better to put each test in it's own file: ``foo-1.pk``,
    +It is better to put each test in its own file: ``foo-1.pk``,
     ``foo-2.pk`` and so on.
     
     dg-output may require a newline
    @@ -1230,7 +1230,7 @@ A *struct type*
     
     A *function type*
       Type expressions for functions are characterized by a type
    -  expression denoting the types of it's arguments and the type of the
    +  expression denoting the types of its arguments and the type of the
       value returned by the function.  We denote them using the following
       sexp-like notation:
     
    @@ -1398,7 +1398,7 @@ Using ASTREF
     
     The AST uses reference counting in order to manage the memory used by
     the nodes.  Every time you store a pointer to an AST node, you should
    -use the macro ``ASTREF`` in order to increase it's counter::
    +use the macro ``ASTREF`` in order to increase its counter::
     
       pkl_ast_node foo = ASTREF (node);
     
    @@ -1764,7 +1764,7 @@ For example, lets say that we are hunting some 
segmentation fault.  We
     highly suspect the code generated in the first example in this
     section, above.  Of the three instructions, ``mullu`` is the only one
     that could conceivably generate a segfault, so we add a stack trace
    -instruction right before it to inspect it's two arguments::
    +instruction right before it to inspect its two arguments::
     
       pkl_asm_insn (pasm, PKL_INSN_ROT);
       pkl_asm_insn (pasm, PKL_INSN_STRACE, 2); /* XXX remove me */
    diff --git a/libpoke/pkl-asm.c b/libpoke/pkl-asm.c
    index 782a4212..111822cd 100644
    --- a/libpoke/pkl-asm.c
    +++ b/libpoke/pkl-asm.c
    @@ -206,7 +206,7 @@ pkl_asm_insn_atoa (pkl_asm pasm,
           from_bound = PKL_AST_TYPE_A_BOUND (from_type);
         }
     
    -  /* If the array element is also an array, then convert each of it's
    +  /* If the array element is also an array, then convert each of its
          elements, recursively.  */
       if (PKL_AST_TYPE_CODE (to_type_etype) == PKL_TYPE_ARRAY)
         {
    diff --git a/libpoke/pkl-ast.c b/libpoke/pkl-ast.c
    index 1108b20c..59e12285 100644
    --- a/libpoke/pkl-ast.c
    +++ b/libpoke/pkl-ast.c
    @@ -1107,7 +1107,7 @@ pkl_ast_type_is_complete (pkl_ast_node type)
     }
     
     /* Print a textual description of TYPE to the file OUT.  If TYPE is a
    -   named type then it's given name is preferred if USE_GIVEN_NAME is
    +   named type then its given name is preferred if USE_GIVEN_NAME is
        1.  */
     
     void
    diff --git a/libpoke/pkl-gen.c b/libpoke/pkl-gen.c
    index 508dd27a..6b939a8f 100644
    --- a/libpoke/pkl-gen.c
    +++ b/libpoke/pkl-gen.c
    @@ -1360,7 +1360,7 @@ PKL_PHASE_BEGIN_HANDLER (pkl_gen_pr_func_arg)
           pkl_asm_label (PKL_GEN_ASM, label);
         }
     
    -  /* If the argument is an array, check/cast to it's type, in order to
    +  /* If the argument is an array, check/cast to its type, in order to
          perform whatever needed run-time checks.  This is done here and
          not in a cast at funcall time because the argument's type is
          evaluated in the function's lexical environment.  As per promo,
    diff --git a/libpoke/pkl-trans.c b/libpoke/pkl-trans.c
    index 593e99ef..5f40ed9d 100644
    --- a/libpoke/pkl-trans.c
    +++ b/libpoke/pkl-trans.c
    @@ -1169,7 +1169,7 @@ PKL_PHASE_BEGIN_HANDLER (pkl_trans2_ps_cast)
     PKL_PHASE_END_HANDLER
     
     /* In offset types having another type as their unit, replace it with
    -   it's size in bits.  Emit a diagnostic if the type is not
    +   its size in bits.  Emit a diagnostic if the type is not
        complete.  */
     
     PKL_PHASE_BEGIN_HANDLER (pkl_trans2_ps_offset_type)
    diff --git a/libpoke/pkl-typify.c b/libpoke/pkl-typify.c
    index 9f24c425..4320cbcb 100644
    --- a/libpoke/pkl-typify.c
    +++ b/libpoke/pkl-typify.c
    @@ -1575,7 +1575,7 @@ PKL_PHASE_BEGIN_HANDLER (pkl_typify1_ps_struct_field)
         = PKL_AST_TYPE (struct_field_exp);
     
       /* The type of a STRUCT_FIELD in a struct initializer is the type of
    -     it's expression.  */
    +     its expression.  */
       PKL_AST_TYPE (struct_field) = ASTREF (struct_field_exp_type);
     }
     PKL_PHASE_END_HANDLER
    @@ -1880,7 +1880,7 @@ PKL_PHASE_BEGIN_HANDLER (pkl_typify1_ps_loop_stmt)
     PKL_PHASE_END_HANDLER
     
     /* Determine the type of an iterator declaration from the type of the
    -   container and install a dummy value with the right type in it's
    +   container and install a dummy value with the right type in its
        initializer.  */
     
     PKL_PHASE_BEGIN_HANDLER (pkl_typify1_ps_loop_stmt_iterator)
    @@ -2382,7 +2382,7 @@ expected %s, got %s",
     PKL_PHASE_END_HANDLER
     
     /* Check that the type of the expression in a `return' statement
    -   matches the return type of it's containing function.  */
    +   matches the return type of its containing function.  */
     
     PKL_PHASE_BEGIN_HANDLER (pkl_typify1_ps_return_stmt)
     {
    diff --git a/poke/pk-ios.c b/poke/pk-ios.c
    index 7c076814..500c43e4 100644
    --- a/poke/pk-ios.c
    +++ b/poke/pk-ios.c
    @@ -240,7 +240,7 @@ pk_cmd_load_file (int argc, struct pk_cmd_arg argv[], 
uint64_t uflags)
         goto no_file;
     
       if (!pk_compile_file (poke_compiler, filename))
    -    /* Note that the compiler emits it's own error messages.  */
    +    /* Note that the compiler emits its own error messages.  */
         goto error;
     
       if (filename != arg)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]