creaturesImage work: add mutableCopy and tint methods to the base class (and change...
[openc2e.git] / lexutil.cpp
blobd85362de565dbc64d6922f2e66047c3d74307362
1 /*
2 * lexutil.cpp
3 * openc2e
5 * Created by Bryan Donlan on Thu 11 Aug 2005.
6 * Copyright (c) 2005 Bryan Donlan. All rights reserved.
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Lesser General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Lesser General Public License for more details.
19 #include "lexutil.h"
20 //#include "lex.yy.h"
21 //#include "lex.c2.h"
22 #include "token.h"
23 #include <vector>
24 #include <string>
26 int lex_lineno;
28 bytestring_t bytestr;
29 std::string temp_str;
31 token lasttok;
33 bool using_c2;
35 void lexreset() {
36 bytestr.clear();
37 temp_str = "";
40 /* vim: set noet: */