diff options
| -rw-r--r-- | mk.sh | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -9,7 +9,9 @@ classify_source () { echo MACRO elif grep -q "#undef ${NAME}" $1; then echo MACRO - elif grep -q "^typedef.* ${NAME}.*;" $1; then + elif grep -q "^typedef .*${NAME}.*;" $1; then + echo TYPE + elif grep -q "^struct .*;$" $1; then echo TYPE elif grep -q "^typedef.*{$" $1; then echo TYPE_LONG |
