diff options
-rw-r--r-- | dm.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -217,7 +217,7 @@ int main(int argc, char **argv) } - fdm = fopen( datamach_file, "r+" ); + fdm = fopen( datamach_file, "r" ); if ( fdm ) { fseek( fdm, 0, SEEK_SET ); @@ -239,7 +239,7 @@ int main(int argc, char **argv) return -1; } - fin = fopen( input_file, "r+" ); + fin = fopen( input_file, "r" ); if (fin) { fseek( fin, 0, SEEK_SET ); @@ -262,9 +262,9 @@ int main(int argc, char **argv) ast = ast_syntax( tl ); //printf("ast = 0x%08x\n", ast); - print_ast( ast ); + //print_ast( ast ); ast2tb( ast, mt ); - mt_print( mt ); + //mt_print( mt ); match( mt, binbuf, binbuf_size ); |