OLD | NEW |
1 #!/usr/bin/perl | 1 #!/usr/bin/perl |
2 ## | 2 ## |
3 ## Copyright (c) 2010 The VP8 project authors. All Rights Reserved. | 3 ## Copyright (c) 2010 The WebM project authors. All Rights Reserved. |
4 ## | 4 ## |
5 ## Use of this source code is governed by a BSD-style license | 5 ## Use of this source code is governed by a BSD-style license |
6 ## that can be found in the LICENSE file in the root of the source | 6 ## that can be found in the LICENSE file in the root of the source |
7 ## tree. An additional intellectual property rights grant can be found | 7 ## tree. An additional intellectual property rights grant can be found |
8 ## in the file PATENTS. All contributing project authors may | 8 ## in the file PATENTS. All contributing project authors may |
9 ## be found in the AUTHORS file in the root of the source tree. | 9 ## be found in the AUTHORS file in the root of the source tree. |
10 ## | 10 ## |
11 | 11 |
12 | 12 |
13 # ads2gas.pl | 13 # ads2gas.pl |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
141 s/\$//g; # remove formal param reference | 141 s/\$//g; # remove formal param reference |
142 s/;/@/g; # change comment characters | 142 s/;/@/g; # change comment characters |
143 } | 143 } |
144 | 144 |
145 # For macros, use \ to reference formal params | 145 # For macros, use \ to reference formal params |
146 s/\$/\\/g; # End macro definition | 146 s/\$/\\/g; # End macro definition |
147 s/MEND/.endm/; # No need to tell it where to stop assembling | 147 s/MEND/.endm/; # No need to tell it where to stop assembling |
148 next if /^\s*END\s*$/; | 148 next if /^\s*END\s*$/; |
149 print; | 149 print; |
150 } | 150 } |
OLD | NEW |