diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Conf.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Conf.cpp b/src/Conf.cpp index 39a8c1d..2d7db93 100644 --- a/src/Conf.cpp +++ b/src/Conf.cpp @@ -122,6 +122,19 @@ namespace sibs ++code; return Token::COMMA; } + else if(c == '#') + { + ++code; + while(true) + { + c = *code; + if(c == '\n') + return nextToken(); + else if(c == '\0') + return Token::END_OF_FILE; + ++code; + } + } else if(c == '\0') { return Token::END_OF_FILE; |