texinfo-commits
[Top][All Lists]
Advanced

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

[8438] line directives for file input only


From: gavinsmith0123
Subject: [8438] line directives for file input only
Date: Sat, 27 Oct 2018 18:59:13 -0400 (EDT)

Revision: 8438
          http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=8438
Author:   gavin
Date:     2018-10-27 18:59:13 -0400 (Sat, 27 Oct 2018)
Log Message:
-----------
line directives for file input only

Modified Paths:
--------------
    trunk/tp/Texinfo/Parser.pm

Modified: trunk/tp/Texinfo/Parser.pm
===================================================================
--- trunk/tp/Texinfo/Parser.pm  2018-10-27 22:47:25 UTC (rev 8437)
+++ trunk/tp/Texinfo/Parser.pm  2018-10-27 22:59:13 UTC (rev 8438)
@@ -3408,6 +3408,7 @@
   my ($self, $line, $line_nr) = @_;
 
   if ($self->{'CPP_LINE_DIRECTIVES'}
+      and defined($line_nr->{'name'})
       and !$line_nr->{'macro'}
       and $line =~ /^\s*#\s*(line)? (\d+)(( "([^"]+)")(\s+\d+)*)?\s*$/) {
     _save_line_directive ($self, $2, $5);




reply via email to

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