projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
masterをマージ
[YACASL2.git]
/
src
/
token.c
diff --git
a/src/token.c
b/src/token.c
index
54ebf3f
..
2757a7b
100644
(file)
--- a/
src/token.c
+++ b/
src/token.c
@@
-6,7
+6,7
@@
OPD *opdtok(const char *str)
{
OPD *opd = malloc(sizeof(OPD));
char *p, *q, *sepp;
{
OPD *opd = malloc(sizeof(OPD));
char *p, *q, *sepp;
- int sepc = ',', len;
+ int sepc = ',', len
= 0
;
bool quoting = false;
opd->opdc = 0;
bool quoting = false;
opd->opdc = 0;
@@
-15,7
+15,6
@@
OPD *opdtok(const char *str)
}
p = q = strdup(str);
do {
}
p = q = strdup(str);
do {
- len = 0;
/* オペランド数が多すぎる場合はエラー */
if(opd->opdc >= OPDSIZE) {
setcerr(117, str); /* operand is too many */
/* オペランド数が多すぎる場合はエラー */
if(opd->opdc >= OPDSIZE) {
setcerr(117, str); /* operand is too many */