src/lexer.h

changeset 80
2ed3430fdd08
parent 79
2425fa6a4f21
child 81
071715c17296
equal deleted inserted replaced
79:2425fa6a4f21 80:2ed3430fdd08
26 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #ifndef LEXER_H 31 #ifndef BOTC_LEXER_H
32 #define LEXER_H 32 #define BOTC_LEXER_H
33 33
34 #include "main.h" 34 #include "main.h"
35 #include "lexer_scanner.h" 35 #include "lexer_scanner.h"
36 36
37 class lexer 37 class lexer
110 void must_get_next_from_scanner (lexer_scanner& sc, e_token tok = tk_any); 110 void must_get_next_from_scanner (lexer_scanner& sc, e_token tok = tk_any);
111 111
112 static string describe_token_private (e_token tok_type, token* tok); 112 static string describe_token_private (e_token tok_type, token* tok);
113 }; 113 };
114 114
115 #endif // LEXER_H 115 #endif // BOTC_LEXER_H

mercurial