Commit da784a91 authored by Moritz Kroll's avatar Moritz Kroll
Browse files

Make Visual Studio happy

[r25554]
parent 25d8d92b
......@@ -1304,6 +1304,7 @@ static void import_entity(io_env_t *env)
static int parse_typegraph(io_env_t *env)
{
const char *kind;
keyword_t kwkind;
lex_state_t oldstate;
EXPECT('{');
......@@ -1318,7 +1319,7 @@ static int parse_typegraph(io_env_t *env)
kind = read_str(env);
if(kind[0] == '}' && !kind[1]) break;
keyword_t kwkind = (keyword_t) symbol(kind, tt_keyword);
kwkind = (keyword_t) symbol(kind, tt_keyword);
switch(kwkind)
{
case kw_type:
......@@ -1497,6 +1498,7 @@ endloop:
static int parse_modes(io_env_t *env)
{
const char *kind;
keyword_t kwkind;
EXPECT('{');
......@@ -1505,7 +1507,7 @@ static int parse_modes(io_env_t *env)
kind = read_str(env);
if(kind[0] == '}' && !kind[1]) break;
keyword_t kwkind = (keyword_t) symbol(kind, tt_keyword);
kwkind = (keyword_t) symbol(kind, tt_keyword);
switch(kwkind)
{
case kw_mode:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment