Skip to content
Browse files

apply a patch from Aaron Christensen

- fix lexer with the following command
    idl --include=a.idl b.idl
  • Loading branch information...
1 parent 5e3abd7 commit 690f52a76a1247cee5aed8f412373a77b0ad2cf2 @fperrad committed
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/CORBA/IDL.pm
  2. +2 −2 lib/CORBA/IDL/Lexer.pm
View
2 lib/CORBA/IDL.pm
@@ -3,7 +3,7 @@ use warnings;
package CORBA::IDL;
-our $VERSION = '2.63';
+our $VERSION = '2.64';
use CORBA::IDL::ParserFactory;
View
4 lib/CORBA/IDL/Lexer.pm
@@ -9,7 +9,7 @@ package CORBA::IDL::Lexer;
use strict;
use warnings;
-our $VERSION = '2.63';
+our $VERSION = '2.64';
use Math::BigInt;
use Math::BigFloat;
@@ -372,7 +372,7 @@ sub Lexer {
}
for ($parser->YYData->{line}) {
- s/^#\s+[\d]+\s+"<[^>]+>"\s*\n// # cpp 3.2.3 ("<build-in>", "<command line>")
+ s/^#\s+[\d]+\s+"<[^>]+>"\s*\d*\s*\n// # cpp 3.2.3 ("<build-in>", "<command line> [\d]")
and last;
s/^#\s+([\d]+)\s+["<]([^\s">]+)[">]\s+([\d]+)\s*\n// # cpp

0 comments on commit 690f52a

Please sign in to comment.
Something went wrong with that request. Please try again.