Commit bdb2ac1
committed
gen_defines.py: add option to remove inline comments
Add an option to remove inline comments from the #define lines.
This allows including the generated files in C++ code, which
does not elide the comments when performing macro expansion.
Signed-off-by: Luca Burelli <[email protected]>1 parent 1481a8b commit bdb2ac1
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
| 38 | + | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
| |||
136 | 138 | | |
137 | 139 | | |
138 | 140 | | |
| 141 | + | |
| 142 | + | |
139 | 143 | | |
140 | 144 | | |
141 | 145 | | |
| |||
1016 | 1020 | | |
1017 | 1021 | | |
1018 | 1022 | | |
| 1023 | + | |
| 1024 | + | |
| 1025 | + | |
1019 | 1026 | | |
1020 | 1027 | | |
1021 | 1028 | | |
| |||
0 commit comments