summaryrefslogtreecommitdiff
path: root/mk.sh
diff options
context:
space:
mode:
Diffstat (limited to 'mk.sh')
-rw-r--r--mk.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk.sh b/mk.sh
index 5789ee6c..1fb805dd 100644
--- a/mk.sh
+++ b/mk.sh
@@ -77,7 +77,7 @@ get_declaration () {
if grep -q '^#if' $1; then
sed -ne '/^#if/,/#endif/p' $1
- elif grep -qE '^(typedef|struct|union) .*{' $1; then
+ elif grep -qE '^(typedef|struct|union) .*\{' $1; then
sed -ne '/{$/,/^}/p' $1
elif grep -qE '^(typedef|struct|union) .*[^;]$' $1; then
grep -E '^(typedef|struct|union| )' $1