代码搜索:parse
找到约 10,000 项符合「parse」的源代码
代码结果 10,000
www.eeworm.com/read/340665/3275441
c parse2.c
// Build don't link:
// GROUPS passed parsing
class BitString {
public:
int i;
};
typedef BitString BS;
typedef ::BitString cBS;
www.eeworm.com/read/340665/3275442
c parse3.c
// Build don't link:
// crash test
// these are marked as expected errors because they evidence an
// ambiguity in the grammar between expressions and declarations.
// when the parser's been cleaned
www.eeworm.com/read/340665/3275495
c parse1.c
// Build don't link:
// GROUPS passed parsing
class Try {
private:
char s;
public:
// an escaped double-quote should not call consume_string inside
// reinit_parse_for_block
void mf() { s='\
www.eeworm.com/read/340665/3275597
c parse4.c
// Build don't link:
// this is marked as an expected error because it evidences an
// ambiguity in the grammar between expressions and declarations.
// when the parser's been cleaned up or rewritte
www.eeworm.com/read/340665/3275870
c parse1.c
// Build don't link:
enum { name1 };
struct name0 { };
struct name1 { };
struct derived1 : public name1 { };
struct derived2 : public name0, public name1 { };
www.eeworm.com/read/340665/3276198
c parse5.c
// Bug: foo (bar) should be a declaration of a static data member, not a
// function; it's getting caught by the rules for constructors.
// Build don't link:
typedef int foo;
typedef int bar;
struct
www.eeworm.com/read/340665/3276199
c parse6.c
// PRMS id: 4653
// Bug: g++ tries to resolve declarator/expression ambiguities too soon.
// Build don't link:
template struct A { };
void f () {
void (A::*pmf) (); // gets bogus err
www.eeworm.com/read/340665/3276269
c parse10.c
// Testcase for precedence of ?: wrt =
extern "C" int printf (const char *, ...);
int main()
{
int j = 0, k = 0;
1 ? j : k = 5; // should be parsed 1 ? j : (k = 5)
(void) (1 ? k = 5 : 0);
k
www.eeworm.com/read/340665/3276286
c parse11.c
// PRMS Id: 6825
// Build don't link:
class aClass
{
;
private:
; // This line causes problems
};
www.eeworm.com/read/340665/3276315
c parse2.c
// Bug: g++ doesn't understand constructor syntax for pointers.
// Build don't link:
void f () {
char * p (0);
}