diff options
author | FreeArtMan <dos21h@gmail.com> | 2015-12-18 21:18:36 +0000 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2015-12-18 21:18:36 +0000 |
commit | 41e9c6754701dc768a07ad9f1b2e14b984b364e9 (patch) | |
tree | 700b9253fa864de30a75294862feec2d72a3e0bb | |
parent | 2441dad315cdf050995e5b1fb48bf9e871fe791c (diff) | |
download | dm-41e9c6754701dc768a07ad9f1b2e14b984b364e9.tar.gz dm-41e9c6754701dc768a07ad9f1b2e14b984b364e9.zip |
dm.c removed default output of data structures. changed file read mode from r+ to r
-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 ); |