Skip to content

Commit

Permalink
as: simple implementation of fr option handling
Browse files Browse the repository at this point in the history
missed changed file
  • Loading branch information
jmalak committed Jun 5, 2024
1 parent cad1d31 commit 542621d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions bld/as/c/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ int PP_MBCharLen( const char *p )
int main( int argc, char **argv )
//*******************************
{
static char *fname;
char *fname;
char *err_file;
OPT_STORAGE data;
OPT_STRING *files;
OPT_STRING *src;
Expand Down Expand Up @@ -96,7 +97,11 @@ int main( int argc, char **argv )
SymInit();
InsInit();
DirInit();
if( ObjInit( fname ) ) {
err_file = NULL;
if( data.fr_value != NULL ) {
err_file = data.fr_value->data;
}
if( ObjInit( fname, err_file ) ) {
if( setjmp( AsmParse ) == 0 ) {
ErrorCountsReset();
DoReport = true;
Expand Down

0 comments on commit 542621d

Please sign in to comment.