Added support for IL generation
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
* Harbour Project source code:
|
||||
* Header file for the Harbour Compiler
|
||||
*
|
||||
* Copyright 1999 Antonio Linares <alinares@fivetech.com>
|
||||
* Copyright 1999 Antonio Linares <alinares@fivetechsoft.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@@ -77,6 +77,7 @@ extern "C" {
|
||||
typedef enum
|
||||
{
|
||||
LANG_C, /* C language (by default) <file.c> */
|
||||
LANG_CLI, /* .NET IL language */
|
||||
LANG_OBJ32, /* DOS/Windows 32 bits <file.obj> */
|
||||
LANG_JAVA, /* Java <file.java> */
|
||||
LANG_PORT_OBJ, /* Portable objects <file.hrb> */
|
||||
|
||||
@@ -580,6 +580,10 @@ void hb_compChkEnvironVar( char * szSwitch )
|
||||
hb_comp_iLanguage = LANG_PORT_OBJ;
|
||||
break;
|
||||
|
||||
case 'i':
|
||||
case 'I':
|
||||
hb_comp_iLanguage = LANG_CLI;
|
||||
break;
|
||||
|
||||
case 'o':
|
||||
case 'O':
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* Harbour Project source code:
|
||||
* Compiler main file
|
||||
*
|
||||
* Copyright 1999 Antonio Linares <alinares@fivetech.com>
|
||||
* Copyright 1999 Antonio Linares <alinares@fivetechsoft.com>
|
||||
* www - http://www.harbour-project.org
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@@ -3832,6 +3832,10 @@ static void hb_compGenOutput( int iLanguage )
|
||||
hb_compGenCCode( hb_comp_pFileName );
|
||||
break;
|
||||
|
||||
case LANG_CLI:
|
||||
hb_compGenILCode( hb_comp_pFileName );
|
||||
break;
|
||||
|
||||
case LANG_OBJ32:
|
||||
hb_compGenObj32( hb_comp_pFileName );
|
||||
break;
|
||||
|
||||
@@ -72,6 +72,7 @@ void hb_compPrintUsage( char * szSelf )
|
||||
"\n %cgw output type: Windows/DOS OBJ32 (.obj)",
|
||||
"\n %cgh output type: Harbour Portable Object (.hrb)",
|
||||
"\n %cgj output type: Java source (.java)",
|
||||
"\n %cgi output type: .NET platform (.il)",
|
||||
"\n %ci<path> #include file search path",
|
||||
"\n %ck compilation mode (type -k? for more data)",
|
||||
"\n %cl suppress line number information",
|
||||
@@ -142,7 +143,7 @@ void hb_compPrintCredits( void )
|
||||
"April White <awhite@mail.rosecom.ca>\n"
|
||||
"Alejandro de Garate <alex_degarate@hotmail.com>\n"
|
||||
"Alexander S. Kresin <alex@belacy.belgorod.su>\n"
|
||||
"Antonio Linares <alinares@fivetech.com>\n"
|
||||
"Antonio Linares <alinares@fivetechsoft.com>\n"
|
||||
"Bil Simser <bsimser@home.com>\n"
|
||||
"Brian Hays <bhays@abacuslaw.com>\n"
|
||||
"Bruno Cantero <bruno@issnet.net>\n"
|
||||
|
||||
Reference in New Issue
Block a user