Lines Matching refs:indent
27 -- usage: [INDENT=...] lua t_options.lua <file.c>...
29 -- Run indent on several inputs with different command line options, verifying
36 -- //indent input
38 -- //indent run [options]
39 -- Runs indent on the input, using the given options.
40 -- //indent end
41 -- Finishes an '//indent input' or '//indent run' section.
42 -- //indent run-equals-input [options]
43 -- Runs indent on the input, expecting that the output is the
45 -- //indent run-equals-prev-output [options]
46 -- Runs indent on the input, expecting the same output as from
49 -- All text outside input..end or run..end directives is not passed to indent.
54 -- The actual output from running indent is written to stdout, the expected
71 local input_excl_comm = "" -- the input text for indent
127 local indent = os.getenv("INDENT") or "indent"
128 local cmd = indent .. " " .. args .. " 2>t_options.err"
248 warn(lineno, "'//indent input' does not take arguments")
258 warn(lineno, "'//indent end' does not take arguments")
264 warn(lineno, "misplaced '//indent end'")
278 -- Hide comments starting with dollar from indent; they are used for
289 local cmd, args = line:match("^//indent%s+([^%s]+)%s*(.*)$")