[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
texinfo/tp Texinfo/Common.pm Texinfo/Parser.pm ...
From: |
Patrice Dumas |
Subject: |
texinfo/tp Texinfo/Common.pm Texinfo/Parser.pm ... |
Date: |
Wed, 22 Feb 2012 00:03:45 +0000 |
CVSROOT: /sources/texinfo
Module name: texinfo
Changes by: Patrice Dumas <pertusus> 12/02/22 00:03:45
Modified files:
tp/Texinfo : Common.pm Parser.pm
tp/t : protect_character_in_texinfo.t
test_protect_hashchar_at_line_beginning.t
tp/t/input_files: cpp_lines.texi
tp/t/results/include: cpp_lines.pl
Log message:
Tighten the regexp of the cpp lines to accept only one number if there
is no file name. Karl idea.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Common.pm?cvsroot=texinfo&r1=1.132&r2=1.133
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/Texinfo/Parser.pm?cvsroot=texinfo&r1=1.362&r2=1.363
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/protect_character_in_texinfo.t?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/test_protect_hashchar_at_line_beginning.t?cvsroot=texinfo&r1=1.3&r2=1.4
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/input_files/cpp_lines.texi?cvsroot=texinfo&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/texinfo/tp/t/results/include/cpp_lines.pl?cvsroot=texinfo&r1=1.1&r2=1.2
Patches:
Index: Texinfo/Common.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Common.pm,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -b -r1.132 -r1.133
--- Texinfo/Common.pm 19 Feb 2012 23:20:34 -0000 1.132
+++ Texinfo/Common.pm 22 Feb 2012 00:03:44 -0000 1.133
@@ -1619,7 +1619,7 @@
sub _is_cpp_line($)
{
my $text = shift;
- return 1 if ($text =~ /^\s*#\s*(line)? (\d+)( "([^"]+)")?(\s+\d+)*\s*$/);
+ return 1 if ($text =~ /^\s*#\s*(line)? (\d+)(( "([^"]+)")(\s+\d+)*)?\s*$/);
return 0;
}
Index: Texinfo/Parser.pm
===================================================================
RCS file: /sources/texinfo/texinfo/tp/Texinfo/Parser.pm,v
retrieving revision 1.362
retrieving revision 1.363
diff -u -b -r1.362 -r1.363
--- Texinfo/Parser.pm 18 Feb 2012 23:27:36 -0000 1.362
+++ Texinfo/Parser.pm 22 Feb 2012 00:03:44 -0000 1.363
@@ -1772,10 +1772,10 @@
($current->{'parent'} and $current->{'parent'}->{'cmdname'}
and $current->{'parent'}->{'cmdname'} eq 'verb')
)
- and $line =~ /^\s*#\s*(line)? (\d+)( "([^"]+)")?(\s+\d+)*\s*$/) {
+ and $line =~ /^\s*#\s*(line)? (\d+)(( "([^"]+)")(\s+\d+)*)?\s*$/) {
$input->{'line_nr'} = $2;
- if (defined($4)) {
- $input->{'name'} = $4;
+ if (defined($5)) {
+ $input->{'name'} = $5;
}
$line = <$fh>;
} else {
Index: t/protect_character_in_texinfo.t
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/protect_character_in_texinfo.t,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- t/protect_character_in_texinfo.t 19 Feb 2012 23:20:35 -0000 1.1
+++ t/protect_character_in_texinfo.t 22 Feb 2012 00:03:44 -0000 1.2
@@ -1,7 +1,7 @@
use strict;
use Test::More;
-BEGIN { plan tests => 3 };
+BEGIN { plan tests => 4 };
use lib 'maintain/lib/Unicode-EastAsianWidth/lib/';
use lib 'maintain/lib/libintl-perl/lib/';
Index: t/test_protect_hashchar_at_line_beginning.t
===================================================================
RCS file:
/sources/texinfo/texinfo/tp/t/test_protect_hashchar_at_line_beginning.t,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- t/test_protect_hashchar_at_line_beginning.t 18 Feb 2012 23:27:37 -0000
1.3
+++ t/test_protect_hashchar_at_line_beginning.t 22 Feb 2012 00:03:45 -0000
1.4
@@ -35,12 +35,16 @@
run_test ('# line 4 "ggggg"
and
# line 5 "fff"
+# 46
+# 3 4
# line 4 "bbb"
# 7 "aaaa"
', '@hashchar{} line 4 "ggggg"
and
@hashchar{} line 5 "fff"
address@hidden 46
+# 3 4
@hashchar{} line 4 "bbb"
@hashchar{} 7 "aaaa"
Index: t/input_files/cpp_lines.texi
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/input_files/cpp_lines.texi,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- t/input_files/cpp_lines.texi 11 Feb 2012 22:35:52 -0000 1.1
+++ t/input_files/cpp_lines.texi 22 Feb 2012 00:03:45 -0000 1.2
@@ -9,6 +9,8 @@
@node Top
# 10 25 209
+# 1 2
+# 46
@verbatim
Index: t/results/include/cpp_lines.pl
===================================================================
RCS file: /sources/texinfo/texinfo/tp/t/results/include/cpp_lines.pl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- t/results/include/cpp_lines.pl 11 Feb 2012 22:35:53 -0000 1.1
+++ t/results/include/cpp_lines.pl 22 Feb 2012 00:03:45 -0000 1.2
@@ -162,6 +162,22 @@
'type' => 'empty_line'
},
{
+ 'contents' => [
+ {
+ 'parent' => {},
+ 'text' => '# 10 25 209
+'
+ },
+ {
+ 'parent' => {},
+ 'text' => '# 1 2
+'
+ }
+ ],
+ 'parent' => {},
+ 'type' => 'paragraph'
+ },
+ {
'parent' => {},
'text' => '
',
@@ -194,7 +210,7 @@
],
'line_nr' => {
'file_name' => 'g_f',
- 'line_nr' => '12',
+ 'line_nr' => '48',
'macro' => ''
},
'parent' => {}
@@ -244,7 +260,7 @@
},
'line_nr' => {
'file_name' => 'g_f',
- 'line_nr' => '17',
+ 'line_nr' => '53',
'macro' => ''
},
'parent' => {}
@@ -290,7 +306,7 @@
},
'line_nr' => {
'file_name' => 'g_f',
- 'line_nr' => '21',
+ 'line_nr' => '57',
'macro' => ''
},
'parent' => {}
@@ -353,7 +369,7 @@
},
'line_nr' => {
'file_name' => 'g_f',
- 'line_nr' => '25',
+ 'line_nr' => '61',
'macro' => ''
},
'parent' => {}
@@ -457,7 +473,7 @@
},
'line_nr' => {
'file_name' => 'g_f',
- 'line_nr' => '28',
+ 'line_nr' => '64',
'macro' => ''
},
'parent' => {}
@@ -504,7 +520,7 @@
'contents' => [],
'line_nr' => {
'file_name' => 'g_f',
- 'line_nr' => '30',
+ 'line_nr' => '66',
'macro' => ''
},
'parent' => {},
@@ -551,7 +567,7 @@
},
'line_nr' => {
'file_name' => 'g_f',
- 'line_nr' => '34',
+ 'line_nr' => '70',
'macro' => ''
},
'parent' => {}
@@ -622,69 +638,72 @@
$result_trees{'cpp_lines'}{'contents'}[1]{'args'}[0]{'contents'}[2]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'args'}[0];
$result_trees{'cpp_lines'}{'contents'}[1]{'args'}[0]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[0]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[1]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[1];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[1]{'contents'}[1]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[1];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[1]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[2]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[2];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[2]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[2];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[2]{'contents'}[1]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[2];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[2]{'contents'}[2]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[2];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[2]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[3]{'extra'}{'command'} =
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[2];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[3]{'contents'}[0]{'extra'}{'command'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[3];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[3]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[3];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[3]{'contents'}[1]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[3];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[3]{'contents'}[2]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[3];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[3]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[4]{'extra'}{'command'} =
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[3];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[4]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[5]{'args'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[5];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[5]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[5];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[5]{'contents'}[1]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[5];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[5]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[6]{'extra'}{'command'} =
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[5];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[6]{'args'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[6];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[6]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[6];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[6]{'contents'}[1]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[6];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[6]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[7]{'extra'}{'command'} =
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[6];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[7]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[8]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[8]{'contents'}[0]{'args'}[0];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[8]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[8]{'contents'}[0];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[8]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[8]{'contents'}[0]{'args'}[0]{'contents'}[0];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[8]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[8];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[8]{'contents'}[1]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[8];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[8]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[9]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[9]{'contents'}[0]{'args'}[0];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[9]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[9]{'contents'}[0];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[9]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[9]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[9]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[9];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[9]{'contents'}[1]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[9];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[9]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[10]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[10];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[10]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[11]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[11];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[11]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[12]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[12]{'contents'}[0]{'args'}[0];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[12]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[12]{'contents'}[0];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[12]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[12]{'contents'}[0]{'args'}[0]{'contents'}[0];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[12]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[12];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[12]{'contents'}[1]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[12];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[12]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[13]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[13]{'contents'}[0]{'args'}[0];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[13]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[13]{'contents'}[0];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[13]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[13]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[13]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[13];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[13]{'contents'}[1]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[13];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[13]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[14]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[15]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[16]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[16]{'contents'}[0]{'args'}[0];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[16]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[16]{'contents'}[0];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[16]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[16]{'contents'}[0]{'args'}[0]{'contents'}[0];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[16]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[16];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[16]{'contents'}[1]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[16];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[16]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[17]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[17]{'contents'}[0]{'args'}[0];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[17]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[17]{'contents'}[0];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[17]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[17]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[17]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[17];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[17]{'contents'}[1]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[17];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[17]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[18]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[18]{'contents'}[0]{'args'}[0];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[18]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[18]{'contents'}[0];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[18]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[18]{'contents'}[0]{'args'}[0]{'contents'}[0];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[18]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[18];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[18]{'contents'}[1]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[18];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[18]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[19]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[19]{'contents'}[0]{'args'}[0];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[19]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[19]{'contents'}[0];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[19]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[19]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[19]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[19];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[19]{'contents'}[1]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[19];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[19]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[20]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[20]{'contents'}[0]{'args'}[0];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[20]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[20]{'contents'}[0]{'args'}[0];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[20]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[20]{'contents'}[0];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[20]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[20];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[20]{'contents'}[1]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[20];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[20]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[21]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[21]{'contents'}[0]{'args'}[0];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[21]{'contents'}[0]{'args'}[0]{'contents'}[1]{'parent'}
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[21]{'contents'}[0]{'args'}[0];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[21]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[21]{'contents'}[0];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[21]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[21];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[21]{'contents'}[1]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[21];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[21]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[22]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[22]{'contents'}[0]{'args'}[0];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[22]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[22]{'contents'}[0];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[22]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[22]{'contents'}[0]{'args'}[0]{'contents'}[0];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[22]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[22];
-$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[22]{'contents'}[1]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[22];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[22]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[23]{'contents'}[0]{'args'}[0]{'contents'}[0]{'parent'}
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[23]{'contents'}[0]{'args'}[0];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[23]{'contents'}[0]{'args'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[23]{'contents'}[0];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[23]{'contents'}[0]{'extra'}{'brace_command_contents'}[0][0]
=
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[23]{'contents'}[0]{'args'}[0]{'contents'}[0];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[23]{'contents'}[0]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[23];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[23]{'contents'}[1]{'parent'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[23];
$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[23]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
+$result_trees{'cpp_lines'}{'contents'}[1]{'contents'}[24]{'parent'} =
$result_trees{'cpp_lines'}{'contents'}[1];
$result_trees{'cpp_lines'}{'contents'}[1]{'extra'}{'node_content'}[0] =
$result_trees{'cpp_lines'}{'contents'}[1]{'args'}[0]{'contents'}[1];
$result_trees{'cpp_lines'}{'contents'}[1]{'extra'}{'nodes_manuals'}[0]{'node_content'}
= $result_trees{'cpp_lines'}{'contents'}[1]{'extra'}{'node_content'};
$result_trees{'cpp_lines'}{'contents'}[1]{'parent'} =
$result_trees{'cpp_lines'};
@@ -698,6 +717,8 @@
@node Top
+# 10 25 209
+# 1 2
@verbatim
@@ -735,6 +756,8 @@
before top.
+# 10 25 209
+# 1 2
#line 5 "f"