aboutsummaryrefslogtreecommitdiffstats
path: root/c_lexer/include
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-02-07 18:10:15 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-02-07 18:10:15 +0000
commitd1bb4f42bd6ab8e8f0d0dfe7acb45183e4629760 (patch)
treebed66cf902367f0d28e152e0d5612480e873ca52 /c_lexer/include
parent1a89a34dfc04a32ec5c25f6bb6d91173acf31679 (diff)
downloadCompiler-d1bb4f42bd6ab8e8f0d0dfe7acb45183e4629760.tar.gz
Compiler-d1bb4f42bd6ab8e8f0d0dfe7acb45183e4629760.zip
Went about the issue with yyleng being of weird type
Diffstat (limited to 'c_lexer/include')
-rw-r--r--c_lexer/include/c_lexer.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c_lexer/include/c_lexer.hpp b/c_lexer/include/c_lexer.hpp
index 54b1b81..90c4d53 100644
--- a/c_lexer/include/c_lexer.hpp
+++ b/c_lexer/include/c_lexer.hpp
@@ -19,12 +19,12 @@ extern std::string *yylval;
// flex function to run on input
extern int yylex();
-extern size_t yyleng;
-
extern int lineCount;
extern int spaceCount;
extern int sourceLineCount;
+extern int charLength;
+
extern std::string fileName;
// get the correct output