[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp Texinfo/Parser.pm t/results/include/...
From: |
Patrice Dumas |
Subject: |
texinfo/tp Texinfo/Parser.pm t/results/include/... |
Date: |
Tue, 19 Oct 2010 16:12:38 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 10/10/19 16:12:38
Modified files:
tp/Texinfo : Parser.pm
tp/t/results/include: double_include.pl include_at_end_line.pl
macro_and_commands_in_early_commands.pl
macro_in_early_commands.pl test_paths.pl
value_expansion_in_include.pl
tp/t/results/macro: macro_in_index_commands.pl
tp/t/results/misc_commands: command_line_in_paragraph.pl
many_lines.pl
tp/t/results/value: value_in_misc_commands.pl
Log message:
Store the misc command arguments that are interesting as text.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Parser.pm?cvsroot=texinfo&r1=1.86&r2=1.87
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/include/double_include.pl?cvsroot=texinfo&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/include/include_at_end_line.pl?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/include/macro_and_commands_in_early_commands.pl?cvsroot=texinfo&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/include/macro_in_early_commands.pl?cvsroot=texinfo&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/include/test_paths.pl?cvsroot=texinfo&r1=1.2&r2=1.3
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/include/value_expansion_in_include.pl?cvsroot=texinfo&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/macro/macro_in_index_commands.pl?cvsroot=texinfo&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/command_line_in_paragraph.pl?cvsroot=texinfo&r1=1.7&r2=1.8
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/misc_commands/many_lines.pl?cvsroot=texinfo&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/value/value_in_misc_commands.pl?cvsroot=texinfo&r1=1.8&r2=1.9
Patches:
Index: Texinfo/Parser.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Parser.pm,v
retrieving revision 1.86
retrieving revision 1.87
diff -u -b -r1.86 -r1.87
--- Texinfo/Parser.pm 19 Oct 2010 11:15:54 -0000 1.86
+++ Texinfo/Parser.pm 19 Oct 2010 16:12:37 -0000 1.87
@@ -1385,6 +1385,7 @@
$command), $line_nr);
} else {
my $text = Texinfo::Convert::Text::convert($current->{'args'}->[0]);
+ $current->{'special'}->{'text_arg'} = $text;
if ($command eq 'include') {
my $file;
if ($text =~ m,^(/|\./|\.\./),) {
Index: t/results/include/double_include.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/include/double_include.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- t/results/include/double_include.pl 18 Oct 2010 22:09:09 -0000 1.2
+++ t/results/include/double_include.pl 19 Oct 2010 16:12:38 -0000 1.3
@@ -33,7 +33,10 @@
}
],
'cmdname' => 'include',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => 'inc_file.texi In included file.'
+ }
}
]
};
Index: t/results/include/include_at_end_line.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/include/include_at_end_line.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- t/results/include/include_at_end_line.pl 18 Oct 2010 00:16:52 -0000
1.1
+++ t/results/include/include_at_end_line.pl 19 Oct 2010 16:12:38 -0000
1.2
@@ -26,7 +26,10 @@
}
],
'cmdname' => 'include',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => 'inc_file.texi '
+ }
},
{
'parent' => {},
Index: t/results/include/macro_and_commands_in_early_commands.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/include/macro_and_commands_in_early_commands.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- t/results/include/macro_and_commands_in_early_commands.pl 19 Oct 2010
10:50:40 -0000 1.2
+++ t/results/include/macro_and_commands_in_early_commands.pl 19 Oct 2010
16:12:38 -0000 1.3
@@ -72,7 +72,10 @@
}
],
'cmdname' => 'setfilename',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => 'address@hidden'
+ }
},
{
'parent' => {},
@@ -146,7 +149,10 @@
}
],
'cmdname' => 'documentencoding',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => 'ISO-8859-1@'
+ }
},
{
'parent' => {},
@@ -357,7 +363,10 @@
}
],
'cmdname' => 'verbatiminclude',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => 'address@hidden'
+ }
}
]
};
Index: t/results/include/macro_in_early_commands.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/include/macro_in_early_commands.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- t/results/include/macro_in_early_commands.pl 19 Oct 2010 10:50:40
-0000 1.2
+++ t/results/include/macro_in_early_commands.pl 19 Oct 2010 16:12:38
-0000 1.3
@@ -103,7 +103,10 @@
}
],
'cmdname' => 'setfilename',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => 'macro_in_passtexi_commands.info'
+ }
},
{
'parent' => {},
@@ -210,7 +213,10 @@
}
],
'cmdname' => 'documentencoding',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => 'ISO-8859-1'
+ }
},
{
'parent' => {},
Index: t/results/include/test_paths.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/include/test_paths.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- t/results/include/test_paths.pl 18 Oct 2010 00:16:52 -0000 1.2
+++ t/results/include/test_paths.pl 19 Oct 2010 16:12:38 -0000 1.3
@@ -72,7 +72,10 @@
}
],
'cmdname' => 'include',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => './inc_file.texi'
+ }
}
],
'parent' => {},
Index: t/results/include/value_expansion_in_include.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/include/value_expansion_in_include.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- t/results/include/value_expansion_in_include.pl 19 Oct 2010 10:50:40
-0000 1.3
+++ t/results/include/value_expansion_in_include.pl 19 Oct 2010 16:12:38
-0000 1.4
@@ -218,7 +218,10 @@
}
],
'cmdname' => 'verbatiminclude',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => 'incl-incl.txi'
+ }
},
{
'parent' => {},
@@ -306,7 +309,10 @@
}
],
'cmdname' => 'verbatiminclude',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => 'incl-incl.txi'
+ }
},
{
'parent' => {},
@@ -394,7 +400,10 @@
}
],
'cmdname' => 'verbatiminclude',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => 'incl-incl.txi'
+ }
}
]
};
Index: t/results/macro/macro_in_index_commands.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/macro/macro_in_index_commands.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- t/results/macro/macro_in_index_commands.pl 19 Oct 2010 10:50:40 -0000
1.7
+++ t/results/macro/macro_in_index_commands.pl 19 Oct 2010 16:12:38 -0000
1.8
@@ -272,7 +272,10 @@
}
],
'cmdname' => 'documentlanguage',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => 'en'
+ }
}
],
'parent' => {},
@@ -316,7 +319,10 @@
}
],
'cmdname' => 'documentlanguage',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => 'en'
+ }
},
{
'parent' => {},
Index: t/results/misc_commands/command_line_in_paragraph.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/misc_commands/command_line_in_paragraph.pl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -b -r1.7 -r1.8
--- t/results/misc_commands/command_line_in_paragraph.pl 19 Oct 2010
10:50:40 -0000 1.7
+++ t/results/misc_commands/command_line_in_paragraph.pl 19 Oct 2010
16:12:38 -0000 1.8
@@ -34,7 +34,10 @@
}
],
'cmdname' => 'documentlanguage',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => 'en'
+ }
},
{
'parent' => {},
Index: t/results/misc_commands/many_lines.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/misc_commands/many_lines.pl,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- t/results/misc_commands/many_lines.pl 19 Oct 2010 10:50:40 -0000
1.9
+++ t/results/misc_commands/many_lines.pl 19 Oct 2010 16:12:38 -0000
1.10
@@ -708,7 +708,10 @@
}
],
'cmdname' => 'documentencoding',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => 'US-ascii encoding name'
+ }
},
{
'args' => [
@@ -735,7 +738,10 @@
}
],
'cmdname' => 'documentencoding',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => 'ISO-8859-1'
+ }
},
{
'parent' => {},
Index: t/results/value/value_in_misc_commands.pl
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/results/value/value_in_misc_commands.pl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -b -r1.8 -r1.9
--- t/results/value/value_in_misc_commands.pl 19 Oct 2010 10:50:40 -0000
1.8
+++ t/results/value/value_in_misc_commands.pl 19 Oct 2010 16:12:38 -0000
1.9
@@ -1409,7 +1409,10 @@
}
],
'cmdname' => 'documentencoding',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => 'ISO-8859-1'
+ }
},
{
'parent' => {},
@@ -1494,7 +1497,10 @@
}
],
'cmdname' => 'documentlanguage',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => 'en'
+ }
}
],
'parent' => {},
@@ -1538,7 +1544,10 @@
}
],
'cmdname' => 'documentlanguage',
- 'parent' => {}
+ 'parent' => {},
+ 'special' => {
+ 'text_arg' => 'en'
+ }
},
{
'parent' => {},
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- texinfo/tp Texinfo/Parser.pm t/results/include/...,
Patrice Dumas <=