diff options
author | Tor Lillqvist <tml@collabora.com> | 2013-10-01 00:52:52 +0300 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2013-10-01 01:03:35 +0300 |
commit | e669d631a746d9f2cb9dc6da707a7ed73bd9401a (patch) | |
tree | 8ffde1ffeb56357783275cd0d76ba87b12c7da79 /bridges | |
parent | 6a3493adb70c53a345456e220213dc645a05a155 (diff) |
Untabify and add mode lines
Change-Id: I185befe8aebdc13df601b1151b45c62e7291b5c0
Diffstat (limited to 'bridges')
-rwxr-xr-x | bridges/source/cpp_uno/gcc3_ios_arm/generate-snippets.pl | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/bridges/source/cpp_uno/gcc3_ios_arm/generate-snippets.pl b/bridges/source/cpp_uno/gcc3_ios_arm/generate-snippets.pl index 43dd6fc7a640..c89f2ed7bd4e 100755 --- a/bridges/source/cpp_uno/gcc3_ios_arm/generate-snippets.pl +++ b/bridges/source/cpp_uno/gcc3_ios_arm/generate-snippets.pl @@ -1,4 +1,4 @@ -#!/usr/bin/perl -w +#!/usr/bin/perl -w # -*- tab-width: 4; indent-tabs-mode: nil; cperl-indent-level: 4 -*- # # This file is part of the LibreOffice project. # @@ -51,11 +51,11 @@ printf ("\n"); foreach my $funIndex (0 .. $nFunIndexes-1) { - foreach my $vtableOffset (0 .. $nVtableOffsets-1) - { - gen_arm ($funIndex, $vtableOffset); - gen_arm ($funIndex|0x80000000, $vtableOffset); - } + foreach my $vtableOffset (0 .. $nVtableOffsets-1) + { + gen_arm ($funIndex, $vtableOffset); + gen_arm ($funIndex|0x80000000, $vtableOffset); + } } printf ("#else\n"); @@ -65,13 +65,13 @@ foreach my $funIndex (0 .. $nFunIndexes-1) { foreach my $vtableOffset (0 .. $nVtableOffsets-1) { - foreach my $executor ('General', 'Void', 'Hyper', 'Float', 'Double', 'Class') - { - gen_x86 ($funIndex, $vtableOffset, $executor); - gen_x86 ($funIndex|0x80000000, $vtableOffset, $executor); - } + foreach my $executor ('General', 'Void', 'Hyper', 'Float', 'Double', 'Class') + { + gen_x86 ($funIndex, $vtableOffset, $executor); + gen_x86 ($funIndex|0x80000000, $vtableOffset, $executor); + } } -} + } printf ("#endif\n"); @@ -90,15 +90,17 @@ foreach my $funIndex (0 .. $nFunIndexes-1) { foreach my $vtableOffset (0 .. $nVtableOffsets-1) { - printf ("#if defined(__arm) || defined(__arm64)\n"); + printf ("#if defined(__arm) || defined(__arm64)\n"); printf (" .long codeSnippet_%08x_%d - _codeSnippets\n", $funIndex, $vtableOffset); printf (" .long codeSnippet_%08x_%d - _codeSnippets\n", $funIndex|0x80000000, $vtableOffset); - printf ("#else\n"); - foreach my $executor ('General', 'Void', 'Hyper', 'Float', 'Double', 'Class') - { + printf ("#else\n"); + foreach my $executor ('General', 'Void', 'Hyper', 'Float', 'Double', 'Class') + { printf (" .long codeSnippet_%08x_%d_%s - _codeSnippets\n", $funIndex, $vtableOffset, $executor); printf (" .long codeSnippet_%08x_%d_%s - _codeSnippets\n", $funIndex|0x80000000, $vtableOffset, $executor); - } - printf ("#endif\n"); + } + printf ("#endif\n"); } } + +# vim:set shiftwidth=4 softtabstop=4 expandtab: |