summaryrefslogtreecommitdiff
path: root/libcmd
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2019-08-17 13:48:50 +0100
committerFreeArtMan <dos21h@gmail.com>2019-08-17 13:48:50 +0100
commit333addeac3d296a6a24802c329ef75c96263d61e (patch)
treed4714f964964d2c9fbb7e13cbae9f18737a99960 /libcmd
parent700b5bc2b24bf9fd8e69f0586739c692be0dc2cb (diff)
downloadihe-333addeac3d296a6a24802c329ef75c96263d61e.tar.gz
ihe-333addeac3d296a6a24802c329ef75c96263d61e.zip
Disabled space token generation
Diffstat (limited to 'libcmd')
-rw-r--r--libcmd/cmd_parse.c2
-rw-r--r--libcmd/cmd_parse.ragel2
2 files changed, 2 insertions, 2 deletions
diff --git a/libcmd/cmd_parse.c b/libcmd/cmd_parse.c
index 0377e1d..a45412c 100644
--- a/libcmd/cmd_parse.c
+++ b/libcmd/cmd_parse.c
@@ -244,7 +244,7 @@ _eof_trans:
break;
case 6:
#line 57 "cmd_parse.ragel"
- {te = p+1;{PR_TK_DBG("sp = ");TADD(CMDT_SP, ts,te,te-ts);}}
+ {te = p+1;{PR_TK_DBG("sp = ");/*TADD(CMDT_SP, ts,te,te-ts);*/}}
break;
case 7:
#line 52 "cmd_parse.ragel"
diff --git a/libcmd/cmd_parse.ragel b/libcmd/cmd_parse.ragel
index 0775802..280d483 100644
--- a/libcmd/cmd_parse.ragel
+++ b/libcmd/cmd_parse.ragel
@@ -54,7 +54,7 @@ int print_token( char *s, char *e, int tok)
binary {PR_TK_DBG("bin = ");TADD(CMDT_BIN, ts,te,te-ts);};
quoted_string {PR_TK_DBG("qstr = ");TADD(CMDT_QSTR, ts,te,te-ts);};
word {PR_TK_DBG("word = ");TADD(CMDT_WORD, ts,te,te-ts);};
- sp {PR_TK_DBG("sp = ");TADD(CMDT_SP, ts,te,te-ts);};
+ sp {PR_TK_DBG("sp = ");/*TADD(CMDT_SP, ts,te,te-ts);*/};
float {PR_TK_DBG("float= ");TADD(CMDT_FLOAT, ts,te,te-ts);};
*|;