代码搜索:parse
找到约 10,000 项符合「parse」的源代码
代码结果 10,000
www.eeworm.com/read/470693/1459823
c parse8.c
// Build don't link:
void foo(const int* const); // gets bogus error
www.eeworm.com/read/470693/1459841
c parse7.c
// Bug: g++ tries to parse this as a constructor.
// Build don't link:
typedef int foo;
struct A {
foo (*bar)();
};
www.eeworm.com/read/470693/1459899
c parse1.c
// Bug: g++ parses the declaration of r as a function declaration.
// Build don't link:
void foo (int i)
{
int &r (i);
r = 1; // gets bogus error -
}
www.eeworm.com/read/470693/1459940
c parse12.c
// PRMS Id: 6821
struct A {
int operator()(int i) { return i; }
};
struct B {
A* p;
int f () { return (*p)(42); } // gets bogus error
};
int main ()
{
B b = { new A };
return b.f () != 4
www.eeworm.com/read/470693/1459963
c parse14.c
// Bug: g++ decides that A::foo is introducing a constructor declarator.
// Build don't link:
struct A {
typedef bool foo;
};
A::foo (*bar) ();
struct B {
A::foo (*bar) ();
};
www.eeworm.com/read/470693/1459995
c parse13.c
// Build don't link:
struct A {
struct B {};
struct C;
};
struct A :: C : A :: B {}; // gets bogus error - parse error before `:'
www.eeworm.com/read/470693/1459996
c parse9.c
// PRMS Id: 5720
// Bug: the extra set of parens confuses the expr/declarator disambiguation.
class Fu
{
int val;
public:
Fu(int i) : val(i) { };
void print() { }
};
int main(int argc, char *
www.eeworm.com/read/470693/1460037
c parse4.c
// Bug: g++ doesn't handle superfluous parentheses when redeclaring a TYPENAME.
// Build don't link:
typedef int foo;
class A {
typedef int ((foo)); // gets bogus error -
};
www.eeworm.com/read/469939/1478287
pl parse_idl.pl
#!/usr/bin/perl
# Some simple tests for pidls parsing routines
# (C) 2005 Jelmer Vernooij
# Published under the GNU General Public License
use strict;
use Test::More tests => 65 *
www.eeworm.com/read/459896/1564976
pl parse_output.pl
#!/usr/bin/perl
$parser = "./parse_dump.pl";
my $fn = $ARGV[0];
shift @ARGV;
if ($fn eq "") { die "must specify a file name\n"; }
while () {
if ($_ =~ /^StartOfDump/) { last; }
}
my $iter = 0;