diff -r 050d31dd7c74 -r c0453b7f99df tests/plc.c --- a/tests/plc.c Mon Apr 04 19:18:22 2011 +0200 +++ b/tests/plc.c Tue Apr 05 15:14:19 2011 +0200 @@ -1,3 +1,31 @@ +/* + * matiec - a compiler for the programming languages defined in IEC 61131-3 + * + * Copyright (C) 2009-2011 Mario de Sousa (msousa@fe.up.pt) + * Copyright (C) 2007-2011 Laurent Bessard and Edouard Tisserant + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + * + * + * This code is made available on the understanding that it will not be + * used in safety-critical situations without a full and competent review. + * + * + * Simple PLC run cycle test implementation - prints every located at each cycle + * + */ + #include "iec_std_lib.h" #include