mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Remove trailing whitespace in lua files
Whitespace is not significant, so this should not be a problem. https://secwiki.org/w/Nmap/Code_Standards
This commit is contained in:
parent
86ac3c0a19
commit
620f9fdb34
499 changed files with 11134 additions and 11134 deletions
|
|
@ -219,7 +219,7 @@ local lua = lpeg.locale {
|
|||
|
||||
-- This is an expression which is always truncated to 1 result, and so we can remove
|
||||
-- redundant parenthesis.
|
||||
_single_exp = P "(" * V "whitespace" * V "_single_exp" * V "whitespace" * P ")" * -(V "whitespace" * (V "suffix" + V "binop")) +
|
||||
_single_exp = P "(" * V "whitespace" * V "_single_exp" * V "whitespace" * P ")" * -(V "whitespace" * (V "suffix" + V "binop")) +
|
||||
V "exp";
|
||||
|
||||
_oneline_exp = Cg(Cg(Cc " ", "newline") * Cg(Cc "", "indent") * Cg(Cc "", "indent_space") * V "_single_exp");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue