[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[7473] _new_node_menu_entry set extra values directly
From: |
gavinsmith0123 |
Subject: |
[7473] _new_node_menu_entry set extra values directly |
Date: |
Sat, 29 Oct 2016 05:45:58 +0000 (UTC) |
Revision: 7473
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7473
Author: gavin
Date: 2016-10-29 05:45:58 +0000 (Sat, 29 Oct 2016)
Log Message:
-----------
_new_node_menu_entry set extra values directly
Modified Paths:
--------------
trunk/ChangeLog
trunk/tp/Texinfo/Structuring.pm
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2016-10-27 17:39:15 UTC (rev 7472)
+++ trunk/ChangeLog 2016-10-29 05:45:58 UTC (rev 7473)
@@ -1,3 +1,10 @@
+2016-10-29 Gavin Smith <address@hidden>
+
+ * tp/Texinfo/Structuring.pm (_new_node_menu_entry): Set
+ 'menu_entry_node' and 'menu_entry_separator' extra values on
+ menu entry directly instead of calling
+ 'Texinfo::Parser::_register_extra_menu_entry_information'.
+
2016-10-27 Gavin Smith <address@hidden>
Reinstate change made on 2016-10-08 and reverted on 2016-10-23.
Modified: trunk/tp/Texinfo/Structuring.pm
===================================================================
--- trunk/tp/Texinfo/Structuring.pm 2016-10-27 17:39:15 UTC (rev 7472)
+++ trunk/tp/Texinfo/Structuring.pm 2016-10-29 05:45:58 UTC (rev 7473)
@@ -1584,7 +1584,11 @@
foreach my $arg(@{$entry->{'args'}}) {
$arg->{'parent'} = $entry;
}
- $self->Texinfo::Parser::_register_extra_menu_entry_information($entry);
+ $entry->{'extra'}->{'menu_entry_node'} =
+ Texinfo::Common::parse_node_manual($menu_entry_node);
+
+ $entry->{'extra'}->{'menu_entry_description'} = $description;
+
return $entry;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [7473] _new_node_menu_entry set extra values directly,
gavinsmith0123 <=