mirror of
https://github.com/falcosecurity/falco.git
synced 2025-10-22 12:27:10 +00:00
Support for comments in rules files
This commit is contained in:
@@ -21,7 +21,7 @@ for str in string.gmatch(arg[1], "([^;]+)") do
|
||||
doit(str)
|
||||
end
|
||||
|
||||
if not (ast) then
|
||||
if (ast and ast.type) then
|
||||
compiler.parser.print_ast(ast)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user