repositories
/
TP_AL_C.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da74c1e
)
Fix a typo
author
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Sun, 22 Oct 2017 08:57:56 +0000
(10:57 +0200)
committer
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Sun, 22 Oct 2017 08:57:56 +0000
(10:57 +0200)
lexer/main.c
patch
|
blob
|
blame
|
history
diff --git
a/lexer/main.c
b/lexer/main.c
index 4572d0267330eaa05ee1cdf382d17978c2236f43..26ba1d5594ada06869ac350d6235bce78b048812 100644
(file)
--- a/
lexer/main.c
+++ b/
lexer/main.c
@@
-17,7
+17,7
@@
enum TokenType {
} tokenType;
const char* tokenTypestr[] = { "MOTCLE", "SECTION", "SSECTION", "NPARA", "MOT", "FIN" };
-/*
This
looks silly to check for each characters but for debugging, it's just the way to go */
+/*
It
looks silly to check for each characters but for debugging, it's just the way to go */
bool istAlpha() {
if (c == 'a' || c == 'b' || c == 'c' || c == 'd' || c == 'e' || c == 'f' || c == 'g' || \
c == 'h' || c == 'i' || c == 'j' || c == 'k' || c == 'l' || c == 'm' || c == 'n' || \