aboutsummaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorBorislav Petkov <[email protected]>2007-05-08 00:29:05 -0700
committerLinus Torvalds <[email protected]>2007-05-08 11:15:09 -0700
commit884f2810b15b6bb489c9dca5013aafbea2f19fba (patch)
tree24db99adbe273fea1c2ce695ebde49fb00be9e51 /include/linux
parent1525dccbc248b87568f2477f1b2d417b69d418c3 (diff)
kernel-doc: handle arrays with arithmetic expressions as initializers
In a different approach here's a patch that handles the special case of composite arithmetic expressions in array size initializers. With it, prior to pushing the split strings on the @first_arg array, I split the keywords before the array name as before and then keep the array name along with the subscript expression as a single whole element which gets pushed last. In this manner, kernel-doc produces correct output without removing whitespaces which makes the array subscripts unreadable in the docs. Signed-off-by: Borislav Petkov <[email protected]> Signed-off-by: Randy Dunlap <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions