texinfo-commits
[Top][All Lists]
Advanced

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

[7228] parsetexi update


From: gavinsmith0123
Subject: [7228] parsetexi update
Date: Thu, 16 Jun 2016 19:59:29 +0000 (UTC)

Revision: 7228
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7228
Author:   gavin
Date:     2016-06-16 19:59:28 +0000 (Thu, 16 Jun 2016)
Log Message:
-----------
parsetexi update

Modified Paths:
--------------
    trunk/tp/parsetexi/parser.c
    trunk/tp/parsetexi/separator.c

Modified: trunk/tp/parsetexi/parser.c
===================================================================
--- trunk/tp/parsetexi/parser.c 2016-06-14 19:03:22 UTC (rev 7227)
+++ trunk/tp/parsetexi/parser.c 2016-06-16 19:59:28 UTC (rev 7228)
@@ -1074,7 +1074,7 @@
                 }
               else
                 {
-                  line_warn ("accent command @%s must not be followed "
+                  line_warn ("accent command address@hidden' must not be 
followed "
                              "by whitespace", command_name(current->cmd));
                   current = current->parent;
                 }
@@ -1112,7 +1112,7 @@
             {
               debug ("STRANGE ACC");
               line_warn ("accent command address@hidden' must not be followed 
by "
-                         "a new line", command_name(current->cmd));
+                         "new line", command_name(current->cmd));
               current = current->parent;
             }
           goto funexit;

Modified: trunk/tp/parsetexi/separator.c
===================================================================
--- trunk/tp/parsetexi/separator.c      2016-06-14 19:03:22 UTC (rev 7227)
+++ trunk/tp/parsetexi/separator.c      2016-06-16 19:59:28 UTC (rev 7228)
@@ -357,6 +357,15 @@
         }
       else if (closed_command == CM_dotless)
         {
+          if (current->contents.number > 0)
+            {
+              char *text = current->contents.list[0]->text.text;
+              if (!text || (strcmp (text, "i") && strcmp (text, "j")))
+                {
+                  line_error ("@dotless expects `i' or `j' as argument, "
+                              "not `%s'", text);
+                }
+            }
         }
       else if ((command_data(closed_command).flags & CF_inline)
                || closed_command == CM_abbr




reply via email to

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