History

Fix Lindent to not indent preprocessor comments so far

I recently ran Lindent over the AdvanSys driver and it moved the comments on #else and #endif lines way over to the right: #else /* ADVANSYS_DEBUG */ This doesn't match what I expect from kernel style, but it is documented. We just need another flag to indent to make this look like: #else /* ADVANSYS_DEBUG */

Matthew Wilcox committed 19 years ago

Commit e609ccc1 parent 178554a1 file · +1 −1Browse files

Showing the changes to scripts (1 of 1 file). Show all

Unified · Split

scripts/Lindent+1−1
@@ -1,2 +1,2 @@
1#!/bin/sh1#!/bin/sh
2indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs "$@"2indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1 "$@"

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t