Changes between Initial Version and Version 1 of Ticket #27194, comment 9


Ignore:
Timestamp:
Sep 17, 2018, 7:31:46 PM (6 months ago)
Author:
cyberpunks
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #27194, comment 9

    initial v1  
    33
    44It actually can't. That's exactly what the first draft of this patch was, but that would ignore a trailing comma. That's why the comment was there.
     5
     6But oh actually the if condition can be safely simplified a little bit.
    57{{{
    68    // Skip the comma separator between ranges. Don't ignore a trailing comma.
     9    if (s < (end_of_entry - 1))
     10      s++;
    711}}}