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 8661240085..3423a15905 100644
--- a/sample/mkproto.rb
+++ b/sample/mkproto.rb
@@ -14,7 +14,7 @@ while gets()
else
type = ""
end
- while arg.sub!(/(\** *[\w\d_]+)(,|$)/, "")
+ while arg.sub!(/(\** *[\w\d_]+)(,|$)/, "") && $~
args.push type + " " + $1.strip
end
else