summaryrefslogtreecommitdiff
path: root/pack.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-21 07:15:06 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-02-21 07:15:06 +0000
commita08cea360d69e6a7c42154f2032590ea3e77a386 (patch)
tree9acce7d674353ed2333d5f731128642392072ba0 /pack.c
parent7f97e8948d88cb9ce431bd8b4f1c260639ec46a7 (diff)
* pack.c (pack_pack): wrong # comment treatment.
* pack.c (pack_unpack): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'pack.c')
-rw-r--r--pack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pack.c b/pack.c
index 77ad365..33870d2 100644
--- a/pack.c
+++ b/pack.c
@@ -367,7 +367,7 @@ pack_pack(ary, fmt)
while ((p < pend) && (*p != '\n')) {
p++;
}
- break;
+ continue;
}
if (*p == '_' || *p == '!') {
char *natstr = "sSiIlL";
@@ -1086,7 +1086,7 @@ pack_unpack(str, fmt)
while ((p < pend) && (*p != '\n')) {
p++;
}
- break;
+ continue;
}
star = 0;
if (*p == '_' || *p == '!') {