texinfo-commits
[Top][All Lists]
Advanced

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

[7094] tweaks to messages


From: Gavin D. Smith
Subject: [7094] tweaks to messages
Date: Sun, 03 Apr 2016 16:34:01 +0000

Revision: 7094
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7094
Author:   gavin
Date:     2016-04-03 16:34:01 +0000 (Sun, 03 Apr 2016)
Log Message:
-----------
tweaks to messages

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/tp/Texinfo/Parser.pm

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog     2016-04-03 16:14:43 UTC (rev 7093)
+++ trunk/ChangeLog     2016-04-03 16:34:01 UTC (rev 7094)
@@ -1,5 +1,11 @@
 2016-04-03  Gavin Smith  <address@hidden>
 
+       * tp/Texinfo/Parser.pm: Use "closing brace" instead of "close 
+       brace" in messages, and use "the beginning of a line" instead of 
+       "a line beginning".
+
+2016-04-03  Gavin Smith  <address@hidden>
+
        * tp/Texinfo/Parser.pm (_end_line) <@multitable prototypes>: Don't
        set parent field for created 'bracketed_multitable_prototype' 
        element.

Modified: trunk/tp/Texinfo/Parser.pm
===================================================================
--- trunk/tp/Texinfo/Parser.pm  2016-04-03 16:14:43 UTC (rev 7093)
+++ trunk/tp/Texinfo/Parser.pm  2016-04-03 16:34:01 UTC (rev 7094)
@@ -323,7 +323,7 @@
 
 # @-commands that do not start a paragraph
 my %default_no_paragraph_commands;
-# @-commands that should be at a line beginning
+# @-commands that should be at the beginning of a line
 my %begin_line_commands;
 
 foreach my $command ('node', 'end') {
@@ -1346,7 +1346,7 @@
                                                        
     } else {
       $self->_command_error($current, $line_nr, 
-        $self->__("%c%s missing close brace"), ord('@'), 
$current->{'cmdname'});
+        $self->__("%c%s missing closing brace"), ord('@'), 
$current->{'cmdname'});
     }
   } else {
     $self->_command_error($current, $line_nr,
@@ -2128,7 +2128,7 @@
 
       ($line, $line_nr) = _new_line($self, $line_nr, $macro);
       if (!defined($line)) {
-        $self->line_error(sprintf($self->__("address@hidden missing close 
brace"), 
+        $self->line_error(sprintf($self->__("address@hidden missing closing 
brace"), 
            $name), $line_nr_orig);
         return ($arguments, "\n", $line_nr);
       }
@@ -3906,7 +3906,7 @@
           } else {
             push @{$current->{'contents'}}, 
               { 'text' => $1, 'type' => 'raw', 'parent' => $current };
-            $self->line_warn(sprintf($self->__("address@hidden %s should only 
appear at a line beginning"), 
+            $self->line_warn(sprintf($self->__("address@hidden %s should only 
appear at the beginning of a line"), 
                                      $end_command), $line_nr);
           }
           # if there is a user defined macro that expandes to spaces, there
@@ -4377,7 +4377,7 @@
         if (not _abort_empty_line($self, $current) 
                and $begin_line_commands{$command}) {
           $self->line_warn( 
-              sprintf($self->__("address@hidden should only appear at a line 
beginning"), 
+              sprintf($self->__("address@hidden should only appear at the 
beginning of a line"), 
                       $command), $line_nr);
         }
 




reply via email to

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