Skip to content

Commit

Permalink
Make ramsey> prompt show even for blanks and comments
Browse files Browse the repository at this point in the history
This makes the UI seem simpler.
  • Loading branch information
apoelstra committed May 28, 2013
1 parent 523317e commit 83261f9
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions process.c
Expand Up @@ -90,12 +90,10 @@ void process (struct _global_data *state)
/* skip comments and blank lines */
if (tok == NULL || *tok == '#')
{
free (buf);
continue;
/**/
}

/* set <variable> <value> */
if (strmatch (tok, "set"))
else if (strmatch (tok, "set"))
{
const char *name = strtok (NULL, " #\t\n");
const char *text = strtok (NULL, "#\n");
Expand Down

0 comments on commit 83261f9

Please sign in to comment.