xref: /aoo41x/main/rsc/source/rscpp/cppmain.c (revision 8e2a856b)
1*8e2a856bSAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*8e2a856bSAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*8e2a856bSAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*8e2a856bSAndrew Rist  * distributed with this work for additional information
6*8e2a856bSAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*8e2a856bSAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*8e2a856bSAndrew Rist  * "License"); you may not use this file except in compliance
9*8e2a856bSAndrew Rist  * with the License.  You may obtain a copy of the License at
10*8e2a856bSAndrew Rist  *
11*8e2a856bSAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12*8e2a856bSAndrew Rist  *
13*8e2a856bSAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*8e2a856bSAndrew Rist  * software distributed under the License is distributed on an
15*8e2a856bSAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*8e2a856bSAndrew Rist  * KIND, either express or implied.  See the License for the
17*8e2a856bSAndrew Rist  * specific language governing permissions and limitations
18*8e2a856bSAndrew Rist  * under the License.
19*8e2a856bSAndrew Rist  *
20*8e2a856bSAndrew Rist  *************************************************************/
21*8e2a856bSAndrew Rist 
22*8e2a856bSAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir #define NOMAIN
25cdf0e10cSrcweir 
26cdf0e10cSrcweir #include <stdio.h>
27cdf0e10cSrcweir #include <ctype.h>
28cdf0e10cSrcweir #include "cppdef.h"
29cdf0e10cSrcweir #include "cpp.h"
30cdf0e10cSrcweir 
main(argc,argv)31cdf0e10cSrcweir int main( argc, argv )
32cdf0e10cSrcweir 	int   argc;
33cdf0e10cSrcweir 	char *argv[];
34cdf0e10cSrcweir {
35cdf0e10cSrcweir #ifdef TSTCPP
36cdf0e10cSrcweir     ( start_cpp( argc, argv ) );
37cdf0e10cSrcweir     puts("erster teil ist fertig" );
38cdf0e10cSrcweir #endif
39cdf0e10cSrcweir     return( start_cpp( argc, argv ) );
40cdf0e10cSrcweir }
41cdf0e10cSrcweir 
42