diff options
Diffstat (limited to 'c_parser/include/c_lexer.hpp')
-rw-r--r-- | c_parser/include/c_lexer.hpp | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/c_parser/include/c_lexer.hpp b/c_parser/include/c_lexer.hpp deleted file mode 100644 index 059664a..0000000 --- a/c_parser/include/c_lexer.hpp +++ /dev/null @@ -1,33 +0,0 @@ -#ifndef C_LEXER_HPP -#define C_LEXER_HPP - -#include <string> - -enum TokenType { - None, - Keyword, - Identifier, - Operator, - Constant, - StringLiteral, - Invalid -}; - -// Global variable that will be looked for by byson -extern std::string *yylval; - -// flex function to run on input -extern int yylex(); - -extern int yyleng; - -extern int lineCount; -extern int spaceCount; -extern int sourceLineCount; - -extern std::string fileName; - -// get the correct output -std::string toJson(const std::string& classType, const std::string& text, const std::string& strLine, const std::string& srcCol, const std::string& srcLine, const std::string& fName); - -#endif |