projects
/
YACASL2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
バージョンアップ
[YACASL2.git]
/
test
/
unit
/
linetok
/
cmd.c
diff --git
a/test/unit/linetok/cmd.c
b/test/unit/linetok/cmd.c
index
cec26fc
..
d858c62
100644
(file)
--- a/
test/unit/linetok/cmd.c
+++ b/
test/unit/linetok/cmd.c
@@
-7,7
+7,7
@@
int main(){
int i, j;
char *testline[] = {
int main(){
int i, j;
char *testline[] = {
- "IOTEST START\n",
+ /* "IOTEST START\n", */
" OUT OBUF1,OLEN1\n",
" OUT OBUF2,OLEN2 ;comment\n",
" OUT OBUF1,OLEN1 \n",
" OUT OBUF1,OLEN1\n",
" OUT OBUF2,OLEN2 ;comment\n",
" OUT OBUF1,OLEN1 \n",
@@
-16,12
+16,14
@@
int main(){
" OUT OBUF1, OLEN1 \n",
"BEGIN LD GR1, A\n",
"\n",
" OUT OBUF1, OLEN1 \n",
"BEGIN LD GR1, A\n",
"\n",
+ ";comment\n",
" ;comment\n"
};
CMDLINE *testcl = malloc(sizeof(CMDLINE));
" ;comment\n"
};
CMDLINE *testcl = malloc(sizeof(CMDLINE));
- cerr_init(); /* エラーの初期化 */
+ addcerrlist_tok();
for(i = 0; i < sizeof testline /sizeof testline[0]; i++) {
for(i = 0; i < sizeof testline /sizeof testline[0]; i++) {
+ cerr_init(); /* エラーの初期化 */
printf("%d: %s", i, testline[i]);
testcl = linetok(testline[i]);
if(testcl == NULL) {
printf("%d: %s", i, testline[i]);
testcl = linetok(testline[i]);
if(testcl == NULL) {