Implement opt b and opt g

This commit is contained in:
ISSOtm
2020-08-18 13:05:55 +02:00
parent b7b03ee451
commit ece6853e0f
10 changed files with 50 additions and 14 deletions

View File

@@ -71,10 +71,11 @@ struct sOptionStackEntry {
struct sOptionStackEntry *pOptionStack;
void opt_SetCurrentOptions(struct sOptions *pOpt)
void opt_SetCurrentOptions(struct sOptions *opt)
{
/* TODO */
(void)pOpt;
CurrentOptions = *opt;
lexer_SetGfxDigits(CurrentOptions.gbgfx);
lexer_SetBinDigits(CurrentOptions.binary);
}
void opt_Parse(char *s)