]> git.sur5r.net Git - openocd/blobdiff - src/helper/command.c
stm32: update option bytes for stm32xl family
[openocd] / src / helper / command.c
index af1d66f217a6b93f220936faaa930cb3ea92eb6e..fd5e5f94822a88b0c061b2b5e7a1914ad32b7fda 100644 (file)
@@ -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)
                {