summaryrefslogtreecommitdiff
path: root/sample/mkproto.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/mkproto.rb')
-rw-r--r--sample/mkproto.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/mkproto.rb b/sample/mkproto.rb
index 1d9c9fa..97006f9 100644
--- a/sample/mkproto.rb
+++ b/sample/mkproto.rb
@@ -1,6 +1,6 @@
$/ = nil
while gets()
- if /^((void|VALUE|int|char *\*|ID|struct [\w_]+ *\*|st_table *\*) *)?\n([\w\d_]+)\(.*\)\n\s*((.+;\n)*){/
+ if /^((void|VALUE|int|char *\*|ID|struct [\w_]+ *\*|st_table *\*) *)?\n([\w\d_]+)\(.*\)\n\s*((.+;\n)*)\{/
$_ = $'
printf "%s %s(", $2, $3
args = []