mirror of
https://github.com/sudo-project/sudo.git
synced 2025-09-01 23:05:17 +00:00
Fix up #line entries that reference lex.sudoers.c.
This commit is contained in:
@@ -321,7 +321,7 @@ $(devdir)/toke.c: $(srcdir)/toke.l
|
|||||||
else \
|
else \
|
||||||
toke_l="$(srcdir)/toke.l"; \
|
toke_l="$(srcdir)/toke.l"; \
|
||||||
fi; \
|
fi; \
|
||||||
cmd='$(FLEX) '"$$toke_l"'; echo "#include <config.h>" > $(devdir)/toke.c; cat lex.sudoers.c >> $(devdir)/toke.c; rm -f lex.sudoers.c'; \
|
cmd='$(FLEX) '"$$toke_l"'; echo "#include <config.h>" > $(devdir)/toke.c; $(SED) "s/^\\(#line .*\\) \"lex\\.sudoers\\.c\"/\1 \"toke.c\"/" lex.sudoers.c >> $(devdir)/toke.c; rm -f lex.sudoers.c'; \
|
||||||
echo "$$cmd"; eval $$cmd; \
|
echo "$$cmd"; eval $$cmd; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#line 3 "lex.sudoers.c"
|
#line 3 "toke.c"
|
||||||
|
|
||||||
#define YY_INT_ALIGNED short int
|
#define YY_INT_ALIGNED short int
|
||||||
|
|
||||||
@@ -2133,7 +2133,7 @@ int (*trace_print)(const char *msg) = sudoers_trace_print;
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
#line 2136 "lex.sudoers.c"
|
#line 2136 "toke.c"
|
||||||
|
|
||||||
#define INITIAL 0
|
#define INITIAL 0
|
||||||
#define GOTDEFS 1
|
#define GOTDEFS 1
|
||||||
@@ -2351,7 +2351,7 @@ YY_DECL
|
|||||||
{
|
{
|
||||||
#line 116 "toke.l"
|
#line 116 "toke.l"
|
||||||
|
|
||||||
#line 2354 "lex.sudoers.c"
|
#line 2354 "toke.c"
|
||||||
|
|
||||||
while ( 1 ) /* loops until end-of-file is reached */
|
while ( 1 ) /* loops until end-of-file is reached */
|
||||||
{
|
{
|
||||||
@@ -3277,7 +3277,7 @@ YY_RULE_SETUP
|
|||||||
#line 745 "toke.l"
|
#line 745 "toke.l"
|
||||||
ECHO;
|
ECHO;
|
||||||
YY_BREAK
|
YY_BREAK
|
||||||
#line 3280 "lex.sudoers.c"
|
#line 3280 "toke.c"
|
||||||
|
|
||||||
case YY_END_OF_BUFFER:
|
case YY_END_OF_BUFFER:
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user