texinfo-commits
[Top][All Lists]
Advanced

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

[no subject]


From: Patrice Dumas
Date: Sat, 11 May 2024 16:22:57 -0400 (EDT)

branch: master
commit b92eceef3e7601731fc2af11ae29863a107eff44
Author: Patrice Dumas <pertusus@free.fr>
AuthorDate: Sat May 11 17:52:45 2024 +0200

    Update TODO/comment
---
 tp/TODO                   | 6 +++---
 tp/Texinfo/ParserNonXS.pm | 1 -
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/tp/TODO b/tp/TODO
index d4b4d1646a..c22f7cadbc 100644
--- a/tp/TODO
+++ b/tp/TODO
@@ -35,8 +35,7 @@ Missing documentation
 Tree documentation in ParserNonXS.pm
 ------------------------------------
 
-elided_rawpreformatted, elided_brace_command_arg, def_category_inserted,
-untranslated_def_category_inserted types.
+elided_rawpreformatted, elided_brace_command_arg types.
 
 'comment_at_end' in info hash
 
@@ -76,11 +75,12 @@ Gavin and Patrice
  One possibility.  It requires some testing as it should allow for
  faster code, but it is not clear that memory use would be smaller.
 char *alias_of
-char *command_info_string (for arg_line or command_name or delimiter)
+char *command_info_string (for arg_line or command_name or @verb delimiter)
 ELEMENT *elements[3]
  spaces_after_cmd_before_arg (brace commands) or comment_at_end (line/block 
commands)
  spaces_before_argument
  spaces_after_argument
+ int inserted (could also be flags if more information is added).
 
 3) make building "source marks" optional.
   With 8 byte pointers and integers, the 24 byte section of ELEMENT relating
diff --git a/tp/Texinfo/ParserNonXS.pm b/tp/Texinfo/ParserNonXS.pm
index 55c4f318a7..7f02165b85 100644
--- a/tp/Texinfo/ParserNonXS.pm
+++ b/tp/Texinfo/ParserNonXS.pm
@@ -5400,7 +5400,6 @@ sub _handle_other_command($$$$$)
       }
     }
     if ($arg_spec eq 'symbol') {
-      # TODO generalize?
       if ($command eq '\\' and $self->_top_context() ne 'ct_math') {
         $self->_line_warn(sprintf(
                    __("\@%s should only appear in math context"),



reply via email to

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