comparison dmd/parse.h @ 1195:e961851fb8be

Merged DMD 1.042.
author Tomas Lindquist Olsen <tomas.l.olsen gmail.com>
date Fri, 03 Apr 2009 17:59:34 +0200
parents aaade6ded589
children 8026319762be
comparison
equal deleted inserted replaced
1194:1853dcd9b944 1195:e961851fb8be
1 1
2 // Compiler implementation of the D programming language 2 // Compiler implementation of the D programming language
3 // Copyright (c) 1999-2008 by Digital Mars 3 // Copyright (c) 1999-2009 by Digital Mars
4 // All Rights Reserved 4 // All Rights Reserved
5 // written by Walter Bright 5 // written by Walter Bright
6 // http://www.digitalmars.com 6 // http://www.digitalmars.com
7 // License for redistribution is by either the Artistic License 7 // License for redistribution is by either the Artistic License
8 // in artistic.txt, or the GNU General Public License in gnu.txt. 8 // in artistic.txt, or the GNU General Public License in gnu.txt.
98 void parseContracts(FuncDeclaration *f); 98 void parseContracts(FuncDeclaration *f);
99 Statement *parseStatement(int flags); 99 Statement *parseStatement(int flags);
100 Initializer *parseInitializer(); 100 Initializer *parseInitializer();
101 void check(Loc loc, enum TOK value); 101 void check(Loc loc, enum TOK value);
102 void check(enum TOK value); 102 void check(enum TOK value);
103 void check(enum TOK value, char *string); 103 void check(enum TOK value, const char *string);
104 int isDeclaration(Token *t, int needId, enum TOK endtok, Token **pt); 104 int isDeclaration(Token *t, int needId, enum TOK endtok, Token **pt);
105 int isBasicType(Token **pt); 105 int isBasicType(Token **pt);
106 int isDeclarator(Token **pt, int *haveId, enum TOK endtok); 106 int isDeclarator(Token **pt, int *haveId, enum TOK endtok);
107 int isParameters(Token **pt); 107 int isParameters(Token **pt);
108 int isExpression(Token **pt); 108 int isExpression(Token **pt);