#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
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);
return DPS_LEN();
}
+