From af79eed4ed7ea02d21810da595d806995da6a591 Mon Sep 17 00:00:00 2001 From: SinusFox Date: Tue, 9 May 2023 15:15:35 +0200 Subject: [PATCH] adding functions to .h --- Exercise 2/C/Lexer.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Exercise 2/C/Lexer.h b/Exercise 2/C/Lexer.h index 8aee3bf..8252bbf 100644 --- a/Exercise 2/C/Lexer.h +++ b/Exercise 2/C/Lexer.h @@ -15,3 +15,12 @@ #define _READ_PUNCTUATION_ 150 #define _STOP_ 999 #define _ERROR_ 1000 + +/* functions */ +int start(char* sourcecode); +int getNextCharacter(); +int readIdentifier(); +int readNumLit(); +int readOperator(); +int readPunctuation(); +int main();