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:
@ -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");
|
||||
|
||||
@ -97,7 +97,7 @@ typedef enum
|
||||
TOKEN_EOF
|
||||
} TokenType;
|
||||
|
||||
typedef struct Token_s
|
||||
typedef struct
|
||||
{
|
||||
TokenType type;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user