Fix off-by-one error in #line directives

The line number is the number of the next line.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2021-01-29 21:12:52 +01:00
parent da174241b8
commit e137ebce7f
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#line 1 "helpers.function" #line 2 "helpers.function"
/*----------------------------------------------------------------------------*/ /*----------------------------------------------------------------------------*/
/* Headers */ /* Headers */

View File

@ -1,4 +1,4 @@
#line 1 "main_test.function" #line 2 "main_test.function"
SUITE_PRE_DEP SUITE_PRE_DEP
#define TEST_SUITE_ACTIVE #define TEST_SUITE_ACTIVE