Parser.patch
Parser.h (working copy) | ||
---|---|---|
42 | 42 |
void PassChar(char c) throw(Error); |
43 | 43 |
void PassChar2(char c1, char c2) throw(Error); |
44 | 44 |
void PassChar3(char c1, char c2, char c3) throw(Error); |
45 |
bool Id(const char *s) { return term[0] == s[0] && (s[1] == 0 || term[1] == s[1]) && Id0(s); } |
|
45 |
bool Id(const char *s) { return iscib(*term) && term[0] == s[0] && (s[1] == 0 || term[1] == s[1]) && Id0(s); }
|
|
46 | 46 |
void PassId(const char *s) throw(Error); |
47 | 47 |
bool IsId() const { return iscib(*term); } |
48 |
bool IsId(const char *s) const { return term[0] == s[0] && (s[1] == 0 || term[1] == s[1]) && IsId0(s); } |
|
48 |
bool IsId(const char *s) const { return iscib(*term) && term[0] == s[0] && (s[1] == 0 || term[1] == s[1]) && IsId0(s); }
|
|
49 | 49 |
String ReadId() throw(Error); |
50 | 50 |
String ReadIdt() throw(Error); |
51 | 51 |
bool IsInt() const; |