mirror of https://github.com/OISF/suricata
doc/transforms: avoid lua lexer error in luaxform example
Pygments 2.21 lexes "x < 0 or x > y" in Lua as a Lua 5.4 variable attribute (e.g. "<const>"), producing an error token on the "0". Sphinx reports this as a highlighting failure warning, and as the PDF build treats warnings as errors, "make dist" fails while building the PDF. Reorder the comparisons so the Lua example is lexed correctly. The logic of the example is unchanged.pull/16338/head
parent
42d6aeada3
commit
35bd603ba3
Loading…
Reference in New Issue