- 10 Jan, 2013 5 commits
-
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
this will help handle special cases like using the lexer with stdin associated with a pipe.
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
- 17 Dec, 2012 1 commit
-
-
Michal 'vorner' Vaner authored
-
- 13 Dec, 2012 1 commit
-
-
Michal 'vorner' Vaner authored
And use it in the master loader, instead of keeping it separately there.
-
- 12 Dec, 2012 1 commit
-
-
JINMEI Tatuya authored
the removed part was obsolete due to a later change (which is described in the next paragraph of the doc). keeping the sentence will just confuse readers. should be trivial enough, so I'm committing this at my discretion.
-
- 01 Dec, 2012 1 commit
-
-
JINMEI Tatuya authored
an empty qstring previously caused an exception, which is a clear bug and should be fixed. nul-terminating string regions is an extension, but I found it useful when implementing RDATA parsers.
-
- 29 Nov, 2012 6 commits
-
-
JINMEI Tatuya authored
for consistency; it's awkward to see it as a struct while LexerError as a .class. The choice is basically a matter of taste, but I personally think it's better to be defined as a class as its base is defined as a class, and these exception structs are not just a trivial set of values.
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
it's a kind of hack for the convenience of the planned change of this branch, but the revised name doesn't seem really bad anyway.
-
Jelte Jansen authored
- reduced a line that was 1 character too long - flipped order of check with isdigit() - renamed Token::NUMBER_RANGE to Token::NUMBER_OUT_OF_RANGE
-
- 27 Nov, 2012 1 commit
-
-
Jelte Jansen authored
-
- 22 Nov, 2012 3 commits
-
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
The copy is shallow anyway, so it wouldn't survive for long.
-
Michal 'vorner' Vaner authored
It was deemed unneeded and is removed therefore, to make the code smaller.
-
- 20 Nov, 2012 1 commit
-
-
JINMEI Tatuya authored
-
- 19 Nov, 2012 7 commits
-
-
Michal 'vorner' Vaner authored
It was not safe, because it may refer to some data elsewhere. Luckily, it seems it is not needed anyway, since the only way that a token can get out of the lexer is through the getNextToken, which would get a new one, and through a testing method not meant for public use.
-
Michal 'vorner' Vaner authored
Move the ReadError exception into the MasterLexer. That way, it is in public namespace, so people can expect to see it.
-
Michal 'vorner' Vaner authored
-
Michal 'vorner' Vaner authored
This is a debug test. It checks the state machine produced a token. There are no tests for this test, since such condition would be a programmer error, not something expected.
-
Michal 'vorner' Vaner authored
No error handling, no special cases, no returning.
-
Michal 'vorner' Vaner authored
No fancy stuff yet, like ungetting tokens, changes of parentheses count, etc. Just the basic stuff.
-
Michal 'vorner' Vaner authored
With doxygen description of what it should do and empty method bodies, so the tests in following commits will at least compile.
-
- 15 Nov, 2012 1 commit
-
-
JINMEI Tatuya authored
I expect we'll need the string object version of token pretty often for rrtype and TTL, and this version will help make it a bit more efficient.
-
- 14 Nov, 2012 1 commit
-
-
JINMEI Tatuya authored
EOL/EOF will be always returned if found; INTIAL_WS will be returned only specified in option
-
- 13 Nov, 2012 1 commit
-
-
JINMEI Tatuya authored
-
- 12 Nov, 2012 1 commit
-
-
JINMEI Tatuya authored
the previous code doesn't seem to be understandable as I thought, so I simplfy revert to the more straightforward way. also added doc for the enum
-
- 06 Nov, 2012 1 commit
-
-
JINMEI Tatuya authored
it can be completely local in Start::handle().
-
- 05 Nov, 2012 1 commit
-
-
JINMEI Tatuya authored
-
- 02 Nov, 2012 5 commits
-
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
handle() signature was extended so it can refer to and update lexer options.
-
JINMEI Tatuya authored
Fixing merge conflicts: src/lib/dns/master_lexer.cc
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-
- 01 Nov, 2012 2 commits
-
-
JINMEI Tatuya authored
-
JINMEI Tatuya authored
-