Gilles Peskine
7493c4017a
Fix comment parsing
...
Fix cases like
```
/*short comment*/ /*long
comment */
int mbedtls_foo;
```
where the previous code thought that the second line started outside of a
comment and ended inside of a comment.
I believe that the new code strips comments correctly. It also strips string
literals, just in case.
Fixes #5191 .
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com >
2021-11-16 21:25:14 +01:00
..
2020-08-19 10:35:41 +02:00
2021-10-28 14:28:53 +02:00
2020-06-26 18:31:26 +02:00
2021-07-22 19:45:12 +02:00
2020-08-19 10:35:41 +02:00
2020-12-10 21:30:01 +01:00
2021-11-16 21:25:14 +01:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2021-05-25 19:35:17 +02:00
2021-01-20 12:03:24 +01:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2021-11-09 12:06:37 +01:00
2021-09-14 11:28:22 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2021-09-27 20:01:08 +02:00
2021-09-27 20:01:08 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-12-10 23:16:03 +01:00
2021-03-24 09:26:44 +01:00
2020-08-19 10:35:41 +02:00
2020-08-19 10:35:41 +02:00
2020-12-10 21:30:08 +01:00
2021-05-25 19:31:21 +02:00
2020-08-19 10:35:41 +02:00
2021-05-05 17:59:15 +02:00
2020-08-19 10:35:41 +02:00