From: Steve Hancock Date: Wed, 9 Jan 2019 01:06:25 +0000 (-0800) Subject: added formatting example X-Git-Tag: 20190601~24 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=a6b50a3f03893bb3357246cbd592b9e65ce5d04d;p=perltidy.git added formatting example --- diff --git a/CHANGES.md b/CHANGES.md index 6e4d9905..bc5745ad 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -10,7 +10,17 @@ series of parameters described in the manual. - Rewrote vertical algnment module. It is much better at finding - patterns in complex code. + patterns in complex code. For example, + + OLD: + /^-std$/ && do { $std = 1; next; }; + /^--$/ && do { @link_args = @argv; last; }; + /^-I(.*)/ && do { $path = $1 || shift @argv; next; }; + + NEW: + /^-std$/ && do { $std = 1; next; }; + /^--$/ && do { @link_args = @argv; last; }; + /^-I(.*)/ && do { $path = $1 || shift @argv; next; }; - Add repository URLs to META files