Commit 4e613fb
committed
Refactor to loosen list parsing
This eases the code a bit to do exactly the same, but remove some unneeded code.
If indented code is not supported (say, someone removed the tokenizer), this
also adds support for lists that are indented more than 4 spaces.
All other tokenizers already supported that.1 parent c30fff5 commit 4e613fb
1 file changed
+2
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | | - | |
| 67 | + | |
72 | 68 | | |
73 | 69 | | |
74 | 70 | | |
75 | 71 | | |
76 | 72 | | |
77 | 73 | | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | 74 | | |
83 | 75 | | |
84 | 76 | | |
| |||
141 | 133 | | |
142 | 134 | | |
143 | 135 | | |
144 | | - | |
145 | 136 | | |
146 | 137 | | |
147 | 138 | | |
| |||
158 | 149 | | |
159 | 150 | | |
160 | 151 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | 152 | | |
166 | 153 | | |
167 | 154 | | |
| |||
0 commit comments