summaryrefslogtreecommitdiff
path: root/apps/interpreters/bas/token.l
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-11-08 07:19:29 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-11-08 07:19:29 -0600
commit390d535328ad15d7858d38b5ec482220ea14881d (patch)
treec5202d77e329a52822c6ed18810424842946a3ee /apps/interpreters/bas/token.l
parentb3274d227e0847da9b52c547b38acab69fd4eddc (diff)
downloadnuttx-390d535328ad15d7858d38b5ec482220ea14881d.tar.gz
nuttx-390d535328ad15d7858d38b5ec482220ea14881d.tar.bz2
nuttx-390d535328ad15d7858d38b5ec482220ea14881d.zip
Cosmetic
Diffstat (limited to 'apps/interpreters/bas/token.l')
-rw-r--r--apps/interpreters/bas/token.l5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/interpreters/bas/token.l b/apps/interpreters/bas/token.l
index ec88ffc21..d9ae7b873 100644
--- a/apps/interpreters/bas/token.l
+++ b/apps/interpreters/bas/token.l
@@ -11,6 +11,7 @@
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
+#include <termios.h>
#include "auto.h"
#include "token.h"
@@ -1173,7 +1174,7 @@ end[ \t]+function {
{
cur->statement=stmt_QUOTE_REM;
strcpy(cur->u.rem=malloc(strlen(yytext+1)+1),yytext+1);
- }
+ }
return T_QUOTE;
}
{LINEINPUT} {
@@ -1740,7 +1741,7 @@ struct String *Token_toString(struct Token *token, struct Token *spaceto, struct
++thisnotindent; ++nextindent;
}
break;
- }
+ }
case T_SELECTCASE: thisnotindent+=2; nextindent+=2; break;
case T_EQ:
{