Commit e24d66a
Refactored the
- Instead of incrementing the take count at every if conditions. We can increment at the end directly.
- This make code concise and hence easier to read and debug the while loop.lex function of the TrimmedLine in the BlockDirectiveParser1 parent 40f7f85 commit e24d66a
1 file changed
+4
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
408 | 408 | | |
409 | 409 | | |
410 | 410 | | |
411 | | - | |
412 | | - | |
413 | 411 | | |
414 | | - | |
| 412 | + | |
415 | 413 | | |
416 | 414 | | |
417 | | - | |
418 | | - | |
419 | 415 | | |
420 | | - | |
| 416 | + | |
421 | 417 | | |
422 | 418 | | |
423 | 419 | | |
424 | | - | |
425 | | - | |
426 | 420 | | |
427 | | - | |
| 421 | + | |
428 | 422 | | |
429 | 423 | | |
430 | | - | |
431 | | - | |
432 | 424 | | |
433 | | - | |
| 425 | + | |
434 | 426 | | |
435 | 427 | | |
436 | 428 | | |
| |||
0 commit comments