- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
void ParseCurrentChar() {
char chr = CurrentChar();
if(OnCommentBlockOpener(chr)) {
SkipCommentBlock();
} else if(OnOnelineComment(chr)) {
SkipOnelineComment();
} else if(CharIsSpace(chr)) {
SkipSpaces();
} else if(CharIsLetter(chr)) {
AddLetterWord();
} else if(CharIsDigit(chr)) {
AddNumber();
} else if(CharIsSingle(chr)) {
AddCurrentChar();
} else if(CharIsTextQuote(chr)) {
AddQuotedText();
} else if(CharIsCharQuote(chr)) {
AddQuotedChar();
} else {
if(CharIsOperator(chr))
AddOperator();
else
AddCurrentChar();
}
}
Dummy00001 08.09.2016 22:49 # 0
bagor 08.09.2016 23:51 # −4
bagor 09.09.2016 00:11 # −2