diff options
Diffstat (limited to 'src/dhcpd-lex.l')
-rw-r--r-- | src/dhcpd-lex.l | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/dhcpd-lex.l b/src/dhcpd-lex.l index 6d05fc9..76e9e28 100644 --- a/src/dhcpd-lex.l +++ b/src/dhcpd-lex.l @@ -7,7 +7,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 @@ -56,12 +56,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 */; |