diff options
| author | Guillaume Melquiond | 2016-10-02 12:02:53 +0200 |
|---|---|---|
| committer | Guillaume Melquiond | 2016-10-02 12:02:53 +0200 |
| commit | 466b7e69e49a5f4bba36b834a2e046f120ece07c (patch) | |
| tree | 10cca3b0d569527afd3741aaebe202b82cb9198e /kernel | |
| parent | 527d3525b726f8136b64c7c1cf770c702f966cad (diff) | |
Move bullet detection from lexer to parser (bug #5102).
That way, bullet detection no longer depends on a global variable
indicating whether a line is starting. This causes a small change in the
recognized language. Before the commit, "--++" was recognized as a bullet
"--" followed by a keyword "++" when at the start of a line; now it is
always recognized as a keyword "--++".
This also fixes a bug in Tok.to_string as a side-effect.
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
