projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ユニットテストで、a.outはレポジトリから除外
[YACASL2.git]
/
src
/
token.c
diff --git
a/src/token.c
b/src/token.c
index
c46c9f2
..
fcb1aeb
100644
(file)
--- a/
src/token.c
+++ b/
src/token.c
@@
-38,7
+38,7
@@
OPD *opdtok(const char *str)
setcerr(121, NULL); /* cannot get operand token */
break;
}
setcerr(121, NULL); /* cannot get operand token */
break;
}
- if(strlen(p) > OPDSIZE +
1
) {
+ if(strlen(p) > OPDSIZE +
2
) {
setcerr(118, p); /* operand length is too long */
break;
}
setcerr(118, p); /* operand length is too long */
break;
}