From 10b335908c8ebedee0c8ade0d5c2b5f37cd13ee6 Mon Sep 17 00:00:00 2001 From: Kyle Marek-Spartz Date: Sat, 15 Feb 2014 00:15:51 -0600 Subject: [PATCH] Two very unimportant changes: a typo and dead code. --- src/main.c | 2 +- src/wren_compiler.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index cf9f22a1..55f3b1fc 100644 --- a/src/main.c +++ b/src/main.c @@ -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"); diff --git a/src/wren_compiler.c b/src/wren_compiler.c index 0770f78a..e4131460 100644 --- a/src/wren_compiler.c +++ b/src/wren_compiler.c @@ -97,7 +97,7 @@ typedef enum TOKEN_EOF } TokenType; -typedef struct Token_s +typedef struct { TokenType type;