diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/helper/command.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/helper/command.c b/src/helper/command.c index af1d66f2..fd5e5f94 100644 --- a/src/helper/command.c +++ b/src/helper/command.c @@ -144,11 +144,6 @@ void script_debug(Jim_Interp *interp, const char *name, { int len; const char *w = Jim_GetString(argv[i], &len); - - /* end of line comment? */ - if (*w == '#') - break; - char * t = alloc_printf("%s %s", dbg, w); free (dbg); dbg = t; @@ -175,10 +170,6 @@ static const char **script_command_args_alloc( { int len; const char *w = Jim_GetString(argv[i], &len); - /* a comment may end the line early */ - if (*w == '#') - break; - words[i] = strdup(w); if (words[i] == NULL) { |