X-Git-Url: https://www.kengrimes.com/gitweb/?p=henge%2Fwebcc.git;a=blobdiff_plain;f=src%2Fapc%2Fscanner.c;h=86c096ee765119fe820b6cab654a557636d32e54;hp=c669b108fe5a777437d6f0181d56d74332c6adc4;hb=97a435e4c7260df6d76612228010e278c612cf56;hpb=a91ae3357781f8723999dd498bae19d46a4281ac diff --git a/src/apc/scanner.c b/src/apc/scanner.c index c669b10..86c096e 100644 --- a/src/apc/scanner.c +++ b/src/apc/scanner.c @@ -22,9 +22,9 @@ #include "parser.tab.h" /* Public */ -int scanner_init(void); -void scanner_quit(void); -int scanner(void); +int scanner_init(void); +void scanner_quit(void); +int scanner(void); /* Private */ #ifndef DL_STACKSIZE #define DL_STACKSIZE 64 @@ -134,7 +134,6 @@ int scanner if (DL_CD_LEN() > 0) //There are entities to process { if ((direntp = DL_CD_POP()) == NULL)//If the dirent is null, the library goto libfail; //function in dirent has failed - printf("Lexdir %s\n",direntp->d_name); lexer_lex(direntp->d_name); //lex the directory name if (DL_LEN() >= DL_STACKSIZE) //fail if maxdepth exceeded { fprintf(stderr, ERR_DEPTH); @@ -209,3 +208,4 @@ int dredge_current_depth return DPS_LEN(); } +