1
0
forked from Mirror/wren

Merge pull request #19 from zeckalpha/feature/c-small-fixes

Two very unimportant changes: a typo and dead code.
This commit is contained in:
Bob Nystrom
2014-02-14 22:22:15 -08:00
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ static int runRepl(WrenVM* vm)
size_t size = 0;
getline(&line, &size, stdin);
// If stdin was closed (usually meaning the used entered Ctrl-D), exit.
// If stdin was closed (usually meaning the user entered Ctrl-D), exit.
if (feof(stdin))
{
printf("\n");

View File

@ -97,7 +97,7 @@ typedef enum
TOKEN_EOF
} TokenType;
typedef struct Token_s
typedef struct
{
TokenType type;