summaryrefslogtreecommitdiffstats
path: root/ast/cexpand.pl
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2016-11-02 19:11:06 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2016-11-02 19:11:06 (GMT)
commit33c55bd916dff8c4932b01c7db58f0103ac31c31 (patch)
treea4cdca3287dd2df5247ce8079c424ffa438b4c2e /ast/cexpand.pl
parent4121637f3d41d6dc23e6543a445b5a3aed9e6ddc (diff)
downloadblt-33c55bd916dff8c4932b01c7db58f0103ac31c31.zip
blt-33c55bd916dff8c4932b01c7db58f0103ac31c31.tar.gz
blt-33c55bd916dff8c4932b01c7db58f0103ac31c31.tar.bz2
update ast
Diffstat (limited to 'ast/cexpand.pl')
-rwxr-xr-xast/cexpand.pl22
1 files changed, 0 insertions, 22 deletions
diff --git a/ast/cexpand.pl b/ast/cexpand.pl
deleted file mode 100755
index 0795c04..0000000
--- a/ast/cexpand.pl
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/star/Perl/bin/perl
- while( $line = <STDIN> ) {
- chomp( $line );
- if( $line =~ /^\/\*(.*)\*\/\s*$/ ) {
- print "\n/*";
- $len = 0;
- foreach $word ( split '\s+', $1 ) {
- $len += length( $word ) + 1;
- if( $len > 70 ) {
- print "\n ";
- $len = length( $word ) + 1;
- }
- print " $word";
- }
- print " */\n";
-
- } else {
- print "$line\n";
- }
-
- }
-