Page MenuHomeFreeBSD

makesyscalls.lua: improve generated file style(9) compliance
ClosedPublic

Authored by emaste on May 12 2021, 8:23 PM.
Tags
None
Referenced Files
F132291486: D30235.id89093.diff
Wed, Oct 15, 2:19 PM
F132291484: D30235.id89088.diff
Wed, Oct 15, 2:19 PM
F132291483: D30235.id89152.diff
Wed, Oct 15, 2:19 PM
F132291479: D30235.id.diff
Wed, Oct 15, 2:19 PM
F132278989: D30235.diff
Wed, Oct 15, 11:19 AM
F132243967: D30235.diff
Wed, Oct 15, 3:26 AM
Unknown Object (File)
Wed, Oct 8, 4:15 AM
Unknown Object (File)
Thu, Sep 18, 2:29 AM
Subscribers
None

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste created this revision.

one more missing space in __CONCAT macro use

sys/tools/makesyscalls.lua
1312

Tab after #define

1319

Ditto, and for the #else #define

oh, i don't feel that strongly about those- feel free to ignore. :-)

I think I'm going to look at rewriting/refactoring makesyscalls.lua with an eye towards making it lib-ish so that it could be used for "other reasons" to process and work with syscall definitions.

This revision is now accepted and ready to land.May 13 2021, 1:23 PM
sys/tools/makesyscalls.lua
1312

Despite style(9) it seems #define<space> is a lot more common in sys/, and clang-format does the same so I plan to leave these two unchanged for now.