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
/
opdtok
/
cmd.c
diff --git
a/test/unit/opdtok/cmd.c
b/test/unit/opdtok/cmd.c
index
bad4603
..
cfc32ea
100644
(file)
--- a/
test/unit/opdtok/cmd.c
+++ b/
test/unit/opdtok/cmd.c
@@
-1,5
+1,8
@@
-#include
"casl2.h"
+#include
<stdio.h>
#include "assemble.h"
#include "assemble.h"
+#include "cerr.h"
+
+OPD *opdtok(const char *str);
int main(){
int i, j;
int main(){
int i, j;
@@
-14,7
+17,6
@@
int main(){
};
cerr = malloc_chk(sizeof(CERR), "cerr"); /* エラーの初期化 */
};
cerr = malloc_chk(sizeof(CERR), "cerr"); /* エラーの初期化 */
- addcerrlist_assemble();
for(i = 0; i < ARRAYSIZE(str); i++) {
cerr->num = 0;
printf("%s\n", str[i]);
for(i = 0; i < ARRAYSIZE(str); i++) {
cerr->num = 0;
printf("%s\n", str[i]);