Moved wesley to header-only

This commit is contained in:
Jonathan Turner
2009-06-10 21:33:22 +00:00
parent 52039d7b45
commit 460146bdb7
11 changed files with 1162 additions and 1091 deletions

View File

@@ -48,12 +48,12 @@ struct Lexer {
Pattern multiline_comment_end_pattern;
Pattern singleline_comment_pattern;
Lexer Lexer::operator<<(const Pattern &p) {
Lexer operator<<(const Pattern &p) {
lex_patterns.push_back(p);
return *this;
}
std::vector<TokenPtr> Lexer::lex(const std::string &input, const char *filename) {
std::vector<TokenPtr> lex(const std::string &input, const char *filename) {
std::vector<Pattern>::iterator iter, end, iter2, end2;
std::vector<TokenPtr> retval;
bool found;