main.cc
changeset 261 db2ad6541d92
parent 202 da1a8186f86f
child 279 c0453b7f99df
equal deleted inserted replaced
260:70dfd493e639 261:db2ad6541d92
     1 /*
     1 /*
     2  * (c) 2003 Mario de Sousa
     2  *  matiec - a compiler for the programming languages defined in IEC 61131-3
     3  *
     3  *  Copyright (C) 2003-2011  Mario de Sousa (msousa@fe.up.pt)
     4  * Offered to the public under the terms of the GNU General Public License
     4  *
     5  * as published by the Free Software Foundation; either version 2 of the
     5  *  This program is free software: you can redistribute it and/or modify
     6  * License, or (at your option) any later version.
     6  *  it under the terms of the GNU General Public License as published by
     7  *
     7  *  the Free Software Foundation, either version 3 of the License, or
     8  * This program is distributed in the hope that it will be useful, but
     8  *  (at your option) any later version.
     9  * WITHOUT ANY WARRANTY; without even the implied warranty of
     9  *
    10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
    10  *  This program is distributed in the hope that it will be useful,
    11  * Public License for more details.
    11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
       
    12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
       
    13  *  GNU General Public License for more details.
       
    14  *
       
    15  *  You should have received a copy of the GNU General Public License
       
    16  *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
       
    17  *
    12  *
    18  *
    13  * This code is made available on the understanding that it will not be
    19  * This code is made available on the understanding that it will not be
    14  * used in safety-critical situations without a full and competent review.
    20  * used in safety-critical situations without a full and competent review.
    15  */
    21  */
    16 
    22 
    17 /*
    23 /*
    18  * An IEC 61131-3 IL and ST compiler.
    24  * An IEC 61131-3 compiler.
    19  *
    25  *
    20  * Based on the
    26  * Based on the
    21  * FINAL DRAFT - IEC 61131-3, 2nd Ed. (2001-12-10)
    27  * FINAL DRAFT - IEC 61131-3, 2nd Ed. (2001-12-10)
    22  *
    28  *
    23  */
    29  */
    95       /* Safety Software Technical Specification,           */
   101       /* Safety Software Technical Specification,           */
    96       /* Part 1: Concepts and Function Blocks,              */
   102       /* Part 1: Concepts and Function Blocks,              */
    97       /* Version 1.0 – Official Release                     */
   103       /* Version 1.0 – Official Release                     */
    98       /******************************************************/
   104       /******************************************************/
    99   printf("  s : allow use of safe extensions\n");
   105   printf("  s : allow use of safe extensions\n");
       
   106   printf("\n");
       
   107   printf("%s - Copyright (C) 2003-2011 \n"
       
   108          "This program comes with ABSOLUTELY NO WARRANTY!\n"
       
   109          "This is free software licensed under GPL v3, and you are welcome to redistribute it under the conditions specified by this license.\n", cmd);
   100 }
   110 }
   101 
   111 
   102 
   112 
   103 
   113 
   104 int main(int argc, char **argv) {
   114 int main(int argc, char **argv) {