代码搜索:parse
找到约 10,000 项符合「parse」的源代码
代码结果 10,000
www.eeworm.com/read/340665/3276317
c parse3.c
// PRMS Id: 4484 (bug 2)
// Bug: g++ does not grok abstract declarator syntax for method pointers.
// Build don't link:
template class A { };
void (A::*p)() = (void (A::*)())0; //
www.eeworm.com/read/340665/3276324
c parse8.c
// Build don't link:
void foo(const int* const); // gets bogus error
www.eeworm.com/read/340665/3276342
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/340665/3276400
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/340665/3276441
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/340665/3276464
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/340665/3276496
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/340665/3276497
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/340665/3276538
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/337546/3331031
c prom_parse.c
#undef DEBUG
#include
#include
#include
#include
#include
#include
#include
#if