]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libsmartcols; (filter) make libscols_filter accessible in lex
authorKarel Zak <kzak@redhat.com>
Mon, 15 Apr 2024 09:54:34 +0000 (11:54 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 15 Apr 2024 10:53:51 +0000 (12:53 +0200)
commit1c48fbaf2af691f9484dd988afd62044fa797f42
treed27a83330f3e02f4691b66fa75366c38d61ec181
parent5aa0c75c78dfb6a0c9851b348ba778149a4550a5
libsmartcols; (filter) make libscols_filter accessible in lex

In the reentrant parser, we cannot easily extend the argument list for
yylex() using %lex-param. Instead, we must use a lex-extra pointer.

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/filter-scanner.l
libsmartcols/src/filter.c