JINMEI Tatuya
|
3ce2efa154
[2372] even further simplification of option handling
|
il y a 12 ans |
JINMEI Tatuya
|
36c280eef8
[2372] further simplification: don't need to save/restore options.
|
il y a 12 ans |
JINMEI Tatuya
|
6e50ccbf96
[2372] simplification: we actually don't need END_OF_LINE option.
|
il y a 12 ans |
JINMEI Tatuya
|
0c5e6acbe2
[2372] handle crlf class
|
il y a 12 ans |
JINMEI Tatuya
|
54ac6712c9
[2372] make sure last_was_eol becomes false in EOF even with an error
|
il y a 12 ans |
JINMEI Tatuya
|
cfc02b5aba
[2372] cleanup: we now don't need to pass options to state::handle()
|
il y a 12 ans |
JINMEI Tatuya
|
5fd8dced29
[2372] localize disabling options in (); we can do this without mutable state.
|
il y a 12 ans |
JINMEI Tatuya
|
c1799647fc
[2372] handle comments in the start state
|
il y a 12 ans |
JINMEI Tatuya
|
9fcdf4d524
[2372] handle non-closed parenthesis error.
|
il y a 12 ans |
JINMEI Tatuya
|
182de87a7f
[2372] handle unbalanced parentheses.
|
il y a 12 ans |
JINMEI Tatuya
|
d4902d224c
[2372] covered a minor case of initial_ws after skipping a newline
|
il y a 12 ans |
JINMEI Tatuya
|
a5767f8d4e
[2372] internal refactoring: pass original options at the time of start
|
il y a 12 ans |
JINMEI Tatuya
|
65fee8d161
[2372] more parentheses support
|
il y a 12 ans |
JINMEI Tatuya
|
5044adfc3d
[2372] use the END_OF_STREAM constant instead of hardocded condition of '< 0'
|
il y a 12 ans |
JINMEI Tatuya
|
65fffc8b28
[2372] more conflict resolution
|
il y a 12 ans |
JINMEI Tatuya
|
8baae42823
[2372] initial parentheses support
|
il y a 12 ans |
JINMEI Tatuya
|
d6ed107c38
[2372] handled spaces.
|
il y a 12 ans |
JINMEI Tatuya
|
150c7dbba7
[2372] lexer state classes, some initial defs and tests
|
il y a 12 ans |
JINMEI Tatuya
|
7a72794ffa
[2371] catch an error in opening a source file and gives feedback to caller.
|
il y a 12 ans |
JINMEI Tatuya
|
b2fe684c2f
[2371] renamed open/close() {push,pop}Source() as suggested in review.
|
il y a 12 ans |
JINMEI Tatuya
|
5654a07319
[2371] use the real InputSource class instead of the temporary fake version.
|
il y a 12 ans |
JINMEI Tatuya
|
213e364291
[2371] define and initialize Token for the lexer.
|
il y a 12 ans |
JINMEI Tatuya
|
7064994700
[2371] catch NULL filename
|
il y a 12 ans |
JINMEI Tatuya
|
1f1131d4f9
[2371] supported close() method
|
il y a 12 ans |
JINMEI Tatuya
|
b237d10894
[2371] supported open(filename) method
|
il y a 12 ans |
JINMEI Tatuya
|
24e75ceec0
[2371] implemented initial framework of MasterLexer and some methods
|
il y a 12 ans |
JINMEI Tatuya
|
844348f6a9
[2370] separate error type token to support error code
|
il y a 12 ans |