aboutsummaryrefslogtreecommitdiffstats
path: root/include/c_lexer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/c_lexer.hpp')
-rw-r--r--include/c_lexer.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/c_lexer.hpp b/include/c_lexer.hpp
index c1643ca..059664a 100644
--- a/include/c_lexer.hpp
+++ b/include/c_lexer.hpp
@@ -19,6 +19,8 @@ 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;
@@ -28,6 +30,4 @@ 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);
-void updateSpaceCount(std::string inStr);
-
#endif