Skip to content

Commit

Permalink
Fix for eclipse submitted by christophe.foucher
Browse files Browse the repository at this point in the history
Issue #177
  • Loading branch information
zik.saleeba committed Feb 23, 2013
1 parent 4f6b802 commit ab1ebde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lex.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ void LexInit(Picoc *pc)
TableSet(pc, &pc->ReservedWordTable, TableStrRegister(pc, ReservedWords[Count].Word), (struct Value *)&ReservedWords[Count], NULL, 0, 0);
}

pc->LexValue.Typ = TypeVoid;
pc->LexValue.Typ = NULL;
pc->LexValue.Val = &pc->LexAnyValue;
pc->LexValue.LValueFrom = FALSE;
pc->LexValue.ValOnHeap = FALSE;
Expand Down
1 change: 1 addition & 0 deletions parse.c
Original file line number Diff line number Diff line change
Expand Up @@ -549,6 +549,7 @@ enum ParseResult ParseStatement(struct ParseState *Parser, int CheckTrailingSemi
}
}
/* else fallthrough to expression */
/* no break */

case TokenAsterisk:
case TokenAmpersand:
Expand Down

0 comments on commit ab1ebde

Please sign in to comment.