]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libsmartcols: (filter) emulate YYerror for old Bison
authorKarel Zak <kzak@redhat.com>
Mon, 15 Apr 2024 12:14:53 +0000 (14:14 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 15 Apr 2024 12:14:53 +0000 (14:14 +0200)
commit1c1073e0dccef02d45818403244832d8044d08ff
treec0b5894794ab8ab6f2e768fbc6395c570e4644cb
parentdd5099b12a2c8ebc2995c01c00b6ca244266b737
libsmartcols: (filter) emulate YYerror for old Bison

The special YYerror token is supported in Bison 3.6 and above.
Fortunately, it is possible to emulate this functionality in older
versions as well.

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