mirror of
https://github.com/logicog/RTLPlayground.git
synced 2026-10-29 17:54:14 +08:00
test/stp: declarations first, one statement per line
stp_sim.c declared variables in the middle of the scenarios and put whole loops and conditions on one line. Each block now starts with its declarations; an initializer that depends on what happens before it stays where it was as an assignment. Bodies of if and for are on lines of their own, functions are separated by an empty line, and lines stay within 120 columns. The output of stp_sim -v is unchanged.
This commit is contained in:
1 parent
fee4f17bff
commit
da4f5058a7
1 file changed
+750
-275
+750
-275
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user