diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-12 11:03:54 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-12 11:03:54 -0400 |
| commit | 29a8d956998194efcf39e729d501b000103deeac (patch) | |
| tree | 92b651f7e1ae9f41228ada033d71519248e19b3e | |
| parent | 99023629a5a5cbea1774b2bbd35a32be4caec311 (diff) | |
correctly identify global struct declarations
| -rw-r--r-- | mk.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ classify_source () { echo FNTYPE elif grep -q "^typedef " $1; then echo TYPE - elif grep -q "^struct .*;$" $1; then + elif grep -q "^struct (^ )*;$" $1; then echo TYPE elif grep -q "^typedef .*{$" $1; then echo TYPE_LONG |
