File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1454,12 +1454,15 @@ do
1454
1454
cat /tmp/$$
1455
1455
fi
1456
1456
cat /tmp/$$ a |
1457
+ # remove tabs and retab with four spaces
1458
+ detab -t8 -qc |
1459
+ entab -t4 -qc |
1457
1460
sed ' s;^/\*\(DATA(.*\)\*/$;\1;' |
1458
1461
sed ' s;^/\*\(CATALOG(.*\)\*/$;\1;' |
1459
1462
sed ' s;/\*---X_X;/* ---;g' |
1460
1463
# workaround indent bug
1461
1464
sed ' s;^static[ ][ ]*;static ;g' |
1462
- sed ' s;^}[ ][ ] *;} ;' |
1465
+ sed ' s;^} *;} ;' |
1463
1466
# pull in #endif comments
1464
1467
sed ' s;^#endif[ ][ ]*/\*;#endif /*;' |
1465
1468
# work around #else indenting next line if #ifdef defines variables at top
1473
1476
}
1474
1477
else print $0;
1475
1478
}' |
1476
- # remove tabs and retab with four spaces
1477
- detab -t8 -qc |
1478
- entab -t4 -qc |
1479
1479
# add space after comments that start on tab stops
1480
1480
sed ' s;\([^ ]\)\(/\*.*\*/\)$;\1 \2;' |
1481
1481
# move trailing * in function return type
You can’t perform that action at this time.
0 commit comments