ISSOtm
20b2f5ee2f
Fix incorrect line numbers with some IF blocks
...
If a line ended with a string's closing quote, or a newline escape, then
skipping over that line via IF/ELIF/ELSE would fail to count that line,
offsetting the rest of the file.
I have no idea why but for some reason 9829be1 changed *specifically*
`if_skip_to_else` to have incorrect behavior on string endings. The incorrect
behavior on newline escapes seems to have been here since the beginning.
Also added a test to check for both of those behaviors in both functions.
Honestly, it baffles me that nobody ever noticed. I didn't until I started
working on #395 .
2019-09-01 03:59:29 +02:00
..
2018-01-27 11:14:10 +00:00
2017-04-02 17:18:08 +01:00
2019-07-03 16:05:54 +02:00
2019-08-29 19:16:28 +02:00
2019-08-29 19:16:28 +02:00
2019-08-29 19:16:28 +02:00
2019-09-01 03:59:29 +02:00
2019-09-01 03:59:29 +02:00
2019-09-01 03:59:29 +02:00
2015-01-27 05:02:57 -07:00
2018-04-28 01:59:37 +01:00
2019-07-03 16:05:54 +02:00
2015-01-27 04:33:38 -07:00
2018-12-02 16:16:41 -08:00
2019-07-03 16:05:54 +02:00
2019-08-29 21:54:06 -07:00
2018-07-06 22:58:58 -04:00
2018-07-06 22:58:58 -04:00
2019-07-03 16:05:54 +02:00
2019-07-04 17:01:29 -07:00
2019-07-04 17:14:55 -07:00
2019-07-04 17:14:55 -07:00
2019-08-29 19:51:47 +02:00
2019-08-29 19:51:47 +02:00
2019-08-29 19:51:47 +02:00
2019-01-12 12:57:58 +01:00
2019-05-05 15:50:56 -07:00
2019-07-03 16:05:54 +02:00
2019-08-29 11:49:17 -07:00
2019-08-29 11:49:17 -07:00
2019-08-29 11:49:17 -07:00
2019-08-20 09:57:53 -07:00
2019-08-20 09:57:53 -07:00
2019-08-20 09:57:53 -07:00
2019-08-29 19:14:02 +02:00
2019-08-29 19:14:02 +02:00
2019-08-29 19:14:02 +02:00
2017-06-12 19:50:02 +01:00
2019-05-05 15:50:56 -07:00
2019-07-03 16:05:54 +02:00
2019-07-04 16:49:09 -07:00
2019-07-04 16:49:09 -07:00
2019-07-04 16:49:09 -07:00
2015-01-27 04:33:38 -07:00
2019-08-30 02:14:21 +02:00
2019-08-30 02:14:21 +02:00
2019-08-30 19:36:23 -07:00
2019-09-01 03:59:29 +02:00
2019-09-01 03:59:29 +02:00
2019-06-09 12:58:32 +02:00
2019-06-09 12:58:32 +02:00
2019-06-09 12:58:32 +02:00
2019-07-03 16:05:54 +02:00
2019-08-29 12:37:59 -07:00
2019-08-29 12:37:59 -07:00
2019-08-29 12:37:59 -07:00
2015-01-27 04:33:38 -07:00
2018-04-03 23:04:29 +01:00
2019-07-03 16:05:54 +02:00
2019-08-20 08:50:18 -07:00
2019-08-20 08:50:18 -07:00
2019-08-20 08:50:18 -07:00
2019-07-04 16:27:31 -07:00
2019-07-04 16:27:31 -07:00
2019-07-04 16:27:31 -07:00
2019-08-16 13:22:19 +01:00
2019-08-16 13:22:19 +01:00
2019-08-16 13:22:19 +01:00
2019-08-16 13:22:19 +01:00
2019-08-16 13:22:19 +01:00
2019-08-16 13:22:19 +01:00
2019-08-16 13:22:19 +01:00
2019-08-16 13:22:19 +01:00
2019-08-16 13:22:19 +01:00
2019-05-09 14:46:11 -07:00
2019-05-09 14:46:11 -07:00
2019-07-03 16:05:54 +02:00
2017-06-12 19:50:02 +01:00
2017-06-12 19:50:02 +01:00
2019-07-03 16:05:54 +02:00
2017-06-12 19:36:52 +01:00
2018-04-03 23:04:29 +01:00
2019-07-03 16:05:54 +02:00
2017-06-12 19:36:52 +01:00
2017-06-12 19:36:52 +01:00
2019-07-03 16:05:54 +02:00
2019-06-02 16:10:34 -07:00
2019-06-02 16:10:34 -07:00
2019-07-03 16:05:54 +02:00
2019-06-02 16:10:34 -07:00
2019-06-02 16:10:34 -07:00
2019-07-03 16:05:54 +02:00
2019-08-27 21:23:36 +02:00
2019-08-27 21:23:36 +02:00
2019-08-27 21:23:36 +02:00
2019-08-30 23:11:28 -06:00
2015-01-27 04:33:38 -07:00
2019-05-05 15:50:56 -07:00
2019-07-03 16:05:54 +02:00
2019-01-18 12:37:23 +01:00
2018-06-30 21:57:34 -04:00
2018-06-30 21:57:34 -04:00
2018-06-30 23:46:17 -04:00
2019-07-03 16:05:54 +02:00
2019-07-03 16:38:35 +02:00
2019-07-03 16:38:35 +02:00
2019-07-03 16:38:35 +02:00