X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=lexer.h;h=73749dbf10c96be2bffbf47adc094e01af4120ec;hb=b5ac2745d678a3cf7d7275864a0aabe9a52d8f08;hp=2d5ec0d5c6c5a7390b21f241c4b17c3e3caeeb71;hpb=2c421c3b716a51f1353f15cb33ed5abb973acbb2;p=xonotic%2Fgmqcc.git diff --git a/lexer.h b/lexer.h index 2d5ec0d..73749dbf 100644 --- a/lexer.h +++ b/lexer.h @@ -1,25 +1,3 @@ -/* - * Copyright (C) 2012, 2013, 2014, 2015 - * Wolfgang Bumiller - * - * Permission is hereby granted, free of charge, to any person obtaining a copy of - * this software and associated documentation files (the "Software"), to deal in - * the Software without restriction, including without limitation the rights to - * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies - * of the Software, and to permit persons to whom the Software is furnished to do - * so, subject to the following conditions: - * - * The above copyright notice and this permission notice shall be included in all - * copies or substantial portions of the Software. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - */ #ifndef GMQCC_LEXER_HDR #define GMQCC_LEXER_HDR #include "gmqcc.h" @@ -38,22 +16,9 @@ struct token_s { int t; /* type */ } constval; -#if 0 - struct token_s *next; - struct token_s *prev; -#endif - lex_ctx_t ctx; }; -#if 0 -token* token_new(); -void token_delete(token*); -token* token_copy(const token *cp); -void token_delete_all(token *t); -token* token_copy_all(const token *cp); -#endif - /* Lexer * */