Initialize translation tables

git-svn-id: svn://svn.cc65.org/cc65/trunk@327 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2000-09-14 19:26:13 +00:00
parent 2ff9f2fc1d
commit 1b4039be3b
10 changed files with 49 additions and 9 deletions

View File

@@ -42,6 +42,7 @@
/* common */
#include "cmdline.h"
#include "target.h"
#include "tgttrans.h"
#include "version.h"
/* ca65 */
@@ -529,7 +530,7 @@ int main (int argc, char* argv [])
LongOption (&I, OptTab, sizeof(OptTab)/sizeof(OptTab[0]));
break;
case 'g':
case 'g':
OptDebugInfo (Arg, 0);
break;
@@ -574,7 +575,7 @@ int main (int argc, char* argv [])
break;
case 'V':
OptVersion (Arg, 0);
OptVersion (Arg, 0);
break;
case 'W':
@@ -607,6 +608,9 @@ int main (int argc, char* argv [])
exit (EXIT_FAILURE);
}
/* Intialize the target translation tables */
TgtTranslateInit ();
/* Initialize the scanner, open the input file */
InitScanner (InFile);