diff options
| author | Eli Zaretskii | 2013-03-28 20:13:59 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2013-03-28 20:13:59 +0200 |
| commit | d76bf86f438d4f5f9fe493ab76f02ffc78f3ae2e (patch) | |
| tree | 04fa8bc7bd2058a316a7ee30f8741d25bfd0b060 /test/indent | |
| parent | 2ef26ceb192c7683754cf0b4aa3087f501254332 (diff) | |
| parent | e74aeda863cd6896e06e92586f87b45d63d67d15 (diff) | |
| download | emacs-d76bf86f438d4f5f9fe493ab76f02ffc78f3ae2e.tar.gz emacs-d76bf86f438d4f5f9fe493ab76f02ffc78f3ae2e.zip | |
Merge from trunk and resolve conflicts.
Diffstat (limited to 'test/indent')
| -rw-r--r-- | test/indent/octave.m | 4 | ||||
| -rw-r--r-- | test/indent/pascal.pas | 8 | ||||
| -rwxr-xr-x | test/indent/shell.sh | 12 |
3 files changed, 18 insertions, 6 deletions
diff --git a/test/indent/octave.m b/test/indent/octave.m index 4c2fa6c8435..bc7784f1ba2 100644 --- a/test/indent/octave.m +++ b/test/indent/octave.m | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ## -*- octave -*- | 1 | ## -*- mode: octave; coding: utf-8 -*- |
| 2 | 2 | ||
| 3 | function res = tcomp (fn) | 3 | function res = tcomp (fn) |
| 4 | %% res = tcomp (fn) | 4 | %% res = tcomp (fn) |
| @@ -35,7 +35,7 @@ function res = tcomp (fn) | |||
| 35 | 35 | ||
| 36 | endfunction | 36 | endfunction |
| 37 | 37 | ||
| 38 | ## Copyright (C) 2005, 2006, 2007, 2008, 2009 S�ren Hauberg | 38 | ## Copyright (C) 2005, 2006, 2007, 2008, 2009 Søren Hauberg |
| 39 | ## | 39 | ## |
| 40 | ## This file is part of Octave. | 40 | ## This file is part of Octave. |
| 41 | ## | 41 | ## |
diff --git a/test/indent/pascal.pas b/test/indent/pascal.pas index 07a21f23c3c..0dda0c47fef 100644 --- a/test/indent/pascal.pas +++ b/test/indent/pascal.pas | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | { GPC demo program for the CRT unit. | 1 | { GPC demo program for the CRT unit. |
| 2 | 2 | ||
| 3 | Copyright (C) 1999-2006 Free Software Foundation, Inc. | 3 | Copyright (C) 1999-2006, 2013 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | Author: Frank Heckenbach <frank@pascal.gnu.de> | 5 | Author: Frank Heckenbach <frank@pascal.gnu.de> |
| 6 | 6 | ||
| @@ -14,9 +14,7 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |||
| 14 | General Public License for more details. | 14 | General Public License for more details. |
| 15 | 15 | ||
| 16 | You should have received a copy of the GNU General Public License | 16 | You should have received a copy of the GNU General Public License |
| 17 | along with this program; see the file COPYING. If not, write to | 17 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 18 | the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | ||
| 19 | Boston, MA 02111-1307, USA. | ||
| 20 | 18 | ||
| 21 | As a special exception, if you incorporate even large parts of the | 19 | As a special exception, if you incorporate even large parts of the |
| 22 | code of this demo program into another program with substantially | 20 | code of this demo program into another program with substantially |
| @@ -27,6 +25,8 @@ by the GNU General Public License. } | |||
| 27 | 25 | ||
| 28 | {$gnu-pascal,I+} | 26 | {$gnu-pascal,I+} |
| 29 | 27 | ||
| 28 | // Free-pascal style comment. | ||
| 29 | |||
| 30 | program CRTDemo; | 30 | program CRTDemo; |
| 31 | 31 | ||
| 32 | uses GPC, CRT; | 32 | uses GPC, CRT; |
diff --git a/test/indent/shell.sh b/test/indent/shell.sh index 6f3447c3aa9..790656501d1 100755 --- a/test/indent/shell.sh +++ b/test/indent/shell.sh | |||
| @@ -5,6 +5,18 @@ setlock -n /tmp/getmail.lock && echo getmail isn\'t running | |||
| 5 | 5 | ||
| 6 | # adsgsdg | 6 | # adsgsdg |
| 7 | 7 | ||
| 8 | case $X in | ||
| 9 | foo) | ||
| 10 | do_something | ||
| 11 | ;; | ||
| 12 | arg=*) # bug#12953 | ||
| 13 | do_something_else_based_on_arg | ||
| 14 | ;; | ||
| 15 | *) | ||
| 16 | default | ||
| 17 | ;; | ||
| 18 | esac | ||
| 19 | |||
| 8 | echo -n $(( 5 << 2 )) | 20 | echo -n $(( 5 << 2 )) |
| 9 | # This should not be treated as a heredoc (bug#12770). | 21 | # This should not be treated as a heredoc (bug#12770). |
| 10 | 2 | 22 | 2 |