Subversion Repositories spk

Rev

Rev 1 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 114
Line 51... Line 51...
51
 
51
 
52
			ErrorCode getCode() const { return (ErrorCode)(code & 0xFFFF); }
52
			ErrorCode getCode() const { return (ErrorCode)(code & 0xFFFF); }
53
		};
53
		};
54
 
54
 
55
	protected:
55
	protected:
56
		typedef ext::list<Error*> ErrorList;
-
 
57
		typedef bod_text_parser::token token;
56
		typedef bod_text_parser::token token;
-
 
57
		typedef ext::list<Error*> ErrorList;
58
 
58
 
59
		void error(const bod_text_parser::token *t, ErrorSeverity severity, const char *format, ...);
59
		void error(const bod_text_parser::token *t, ErrorSeverity severity, const char *format, ...);
60
 
60
 
61
	public:
61
	public:
62
		typedef ErrorList::iterator iterator;
62
		typedef ErrorList::iterator iterator;
-
 
63
		typedef token_stream<bod_text_parser> token_stream;
63
 
64
 
64
		ErrorList errors;
65
		ErrorList errors;
65
 
66
 
66
		virtual ~bod_parser_base() { clearErrors(); }
67
		virtual ~bod_parser_base() { clearErrors(); }
67
 
68