diff options
Diffstat (limited to 'src/bind-lex.l')
-rw-r--r-- | src/bind-lex.l | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/bind-lex.l b/src/bind-lex.l index c1f37d7..bc2eb70 100644 --- a/src/bind-lex.l +++ b/src/bind-lex.l @@ -8,7 +8,7 @@ } %{ /* grecs - Gray's Extensible Configuration System - Copyright (C) 2007-2021 Sergey Poznyakoff + Copyright (C) 2007-2022 Sergey Poznyakoff Grecs is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the @@ -60,12 +60,10 @@ P [1-9][0-9]* /* Line directive */ ^[ \t]*#[ \t]*{P}[ \t]+\".*\".*\n { grecs_parse_line_directive_cpp(yytext, &yylloc, - &grecs_current_locus_point, - NULL); } + &grecs_current_locus_point); } ^[ \t]*#[ \t]*line[ \t].*\n { grecs_parse_line_directive(yytext, &yylloc, - &grecs_current_locus_point, - NULL); } + &grecs_current_locus_point); } /* End-of-line comments */ #.*\n { grecs_locus_point_advance_line(grecs_current_locus_point); } #.* /* end-of-file comment */; |