diff options
Diffstat (limited to 'apps/interpreters/bas/bas.c')
-rw-r--r-- | apps/interpreters/bas/bas.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/apps/interpreters/bas/bas.c b/apps/interpreters/bas/bas.c index c60c127d1..7b1ed5093 100644 --- a/apps/interpreters/bas/bas.c +++ b/apps/interpreters/bas/bas.c @@ -2,7 +2,7 @@ * Included Files ****************************************************************************/ -#include "config.h" +#include <nuttx/config.h> #include <sys/stat.h> #include <sys/types.h> @@ -19,8 +19,6 @@ #include <time.h> #include <unistd.h> -#include "getopt.h" - #include "auto.h" #include "bas.h" #include "error.h" @@ -475,7 +473,7 @@ static struct Value *func(struct Value *value) return value; } -#ifdef USE_LR0 +#ifdef CONFIG_INTERPRETER_BAS_USE_LR0 /* Grammar with LR(0) sets */ /* @@ -1920,10 +1918,9 @@ void bas_interpreter(void) { if (FS_istty(STDCHANNEL)) { - // FS_putChars(STDCHANNEL,"bas " VERSION "\n"); //acassis: fix it + FS_putChars(STDCHANNEL, "bas " CONFIG_INTERPRETER_BAS_VERSION "\n"); FS_putChars(STDCHANNEL, "Copyright 1999-2014 Michael Haardt.\n"); - FS_putChars(STDCHANNEL, - _("This is free software with ABSOLUTELY NO WARRANTY.\n")); + FS_putChars(STDCHANNEL, "This is free software with ABSOLUTELY NO WARRANTY.\n"); } new(); while (1) |