代码搜索:parse
找到约 10,000 项符合「parse」的源代码
代码结果 10,000
www.eeworm.com/read/470693/1458941
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/470693/1458994
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/470693/1459096
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/470693/1459369
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/470693/1459697
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/470693/1459698
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/470693/1459768
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/470693/1459785
c parse11.c
// PRMS Id: 6825
// Build don't link:
class aClass
{
;
private:
; // This line causes problems
};
www.eeworm.com/read/470693/1459814
c parse2.c
// Bug: g++ doesn't understand constructor syntax for pointers.
// Build don't link:
void f () {
char * p (0);
}
www.eeworm.com/read/470693/1459816
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; //