diff options
author | Adrian Thurston <thurston@complang.org> | 2015-01-23 11:57:47 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2015-01-23 11:57:47 -0500 |
commit | 6718c556b65c651591a90e9c1a38e99e37e8a1d3 (patch) | |
tree | 0b717d76c19b8e1bfd9aab383f180eeaf22b4cb4 /src | |
parent | ecae25514bd0fbb104a12ead0938d0cd5a37c86d (diff) | |
download | colm-6718c556b65c651591a90e9c1a38e99e37e8a1d3.tar.gz |
revert "removed GPL license file and stripped GPL headers"
This reverts commit f04d3ede7dbb6d3edd6a9865ebf88c5e6d82f18e.
Conflicts:
src/codegen.cc
src/ctinput.cc
src/exports.cc
src/fsmcodegen.cc
Diffstat (limited to 'src')
75 files changed, 1278 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index b45f4ef9..b0485741 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -2,6 +2,22 @@ # Copyright 2007-2013 Adrian Thurston <thurston@complang.org> # +# This file is part of Colm. +# +# Colm 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 2 of the License, or +# (at your option) any later version. +# +# Colm 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 Colm; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + INCLUDES = -I$(top_srcdir)/aapl bin_PROGRAMS = colm diff --git a/src/buffer.h b/src/buffer.h index 9e700668..9039ad4b 100644 --- a/src/buffer.h +++ b/src/buffer.h @@ -2,6 +2,23 @@ * Copyright 2003 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _BUFFER_H #define _BUFFER_H diff --git a/src/bytecode.c b/src/bytecode.c index ba8b7375..6487b953 100644 --- a/src/bytecode.c +++ b/src/bytecode.c @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <colm/pdarun.h> #include <colm/tree.h> #include <colm/bytecode.h> diff --git a/src/bytecode.h b/src/bytecode.h index 65db7593..c4503c26 100644 --- a/src/bytecode.h +++ b/src/bytecode.h @@ -2,6 +2,23 @@ * Copyright 2007-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _BYTECODE_H #define _BYTECODE_H diff --git a/src/closure.cc b/src/closure.cc index ceb5d29c..5b368773 100644 --- a/src/closure.cc +++ b/src/closure.cc @@ -2,6 +2,23 @@ * Copyright 2005-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include "global.h" #include "compiler.h" diff --git a/src/codegen.cc b/src/codegen.cc index 1530f62f..7a5d5616 100644 --- a/src/codegen.cc +++ b/src/codegen.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include "compiler.h" #include "fsmcodegen.h" #include "redfsm.h" diff --git a/src/codevect.c b/src/codevect.c index c58e6d1a..a05c7ea4 100644 --- a/src/codevect.c +++ b/src/codevect.c @@ -2,6 +2,23 @@ * Copyright 2010-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Aapl. + * + * Aapl is free software; you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * Aapl 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 Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Aapl; if not, write to the Free Software Foundation, Inc., 59 + * Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <colm/rtvector.h> #include <colm/pdarun.h> diff --git a/src/compiler.cc b/src/compiler.cc index a8fc1ede..068a75ee 100644 --- a/src/compiler.cc +++ b/src/compiler.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <iostream> #include <iomanip> #include <errno.h> diff --git a/src/compiler.h b/src/compiler.h index 6a9cf271..5ee64f7f 100644 --- a/src/compiler.h +++ b/src/compiler.h @@ -2,6 +2,23 @@ * Copyright 2001-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _PARSEDATA_H #define _PARSEDATA_H diff --git a/src/consinit.cc b/src/consinit.cc index 5b67b0e0..cca00d40 100644 --- a/src/consinit.cc +++ b/src/consinit.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <iostream> #include <errno.h> diff --git a/src/consinit.h b/src/consinit.h index af935b72..d62f72f1 100644 --- a/src/consinit.h +++ b/src/consinit.h @@ -2,6 +2,23 @@ * Copyright 2013 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <iostream> #include "avltree.h" #include "compiler.h" diff --git a/src/cstring.h b/src/cstring.h index fbd7b97c..a59ebe36 100644 --- a/src/cstring.h +++ b/src/cstring.h @@ -2,6 +2,23 @@ * Copyright 2002 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Aapl. + * + * Aapl is free software; you can redistribute it and/or modify it under the + * terms of the GNU Lesser General Public License as published by the Free + * Software Foundation; either version 2.1 of the License, or (at your option) + * any later version. + * + * Aapl 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 Lesser General Public License for + * more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Aapl; if not, write to the Free Software Foundation, Inc., 59 + * Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _AAPL_ASTRING_H #define _AAPL_ASTRING_H diff --git a/src/ctinput.cc b/src/ctinput.cc index aeec8b7d..4a9c92ad 100644 --- a/src/ctinput.cc +++ b/src/ctinput.cc @@ -2,6 +2,23 @@ * Copyright 2007-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include "compiler.h" #include "parsetree.h" #include "input.h" diff --git a/src/debug.c b/src/debug.c index cdadbf52..c43f5a68 100644 --- a/src/debug.c +++ b/src/debug.c @@ -2,6 +2,23 @@ * Copyright 2010-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <colm/debug.h> #include <colm/program.h> #include <stdarg.h> diff --git a/src/debug.h b/src/debug.h index 6374f3a5..91e1c46c 100644 --- a/src/debug.h +++ b/src/debug.h @@ -2,6 +2,23 @@ * Copyright 2010-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifdef __cplusplus extern "C" { #endif diff --git a/src/declare.cc b/src/declare.cc index 083693b5..a26a9109 100644 --- a/src/declare.cc +++ b/src/declare.cc @@ -2,6 +2,23 @@ * Copyright 2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include "bytecode.h" #include "compiler.h" #include <iostream> diff --git a/src/defs.h.in b/src/defs.h.in index 7e5f3dc9..4281536d 100644 --- a/src/defs.h.in +++ b/src/defs.h.in @@ -2,6 +2,23 @@ * Copyright 2001 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Ragel. + * + * Ragel 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 2 of the License, or + * (at your option) any later version. + * + * Ragel 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 Ragel; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _CONFIG_H #define _CONFIG_H diff --git a/src/dotgen.cc b/src/dotgen.cc index cc3ae2a4..aa407129 100644 --- a/src/dotgen.cc +++ b/src/dotgen.cc @@ -2,6 +2,24 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + #include "global.h" #include "compiler.h" diff --git a/src/dotgen.h b/src/dotgen.h index 96a48e88..d05a2410 100644 --- a/src/dotgen.h +++ b/src/dotgen.h @@ -2,6 +2,23 @@ * Copyright 2001-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _GVDOTGEN_H #define _GVDOTGEN_H diff --git a/src/exports.cc b/src/exports.cc index f6bc1eb7..d8167639 100644 --- a/src/exports.cc +++ b/src/exports.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include "compiler.h" #include "fsmcodegen.h" #include "redfsm.h" diff --git a/src/fsmap.cc b/src/fsmap.cc index 5631a304..cd955614 100644 --- a/src/fsmap.cc +++ b/src/fsmap.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include "config.h" #include "defs.h" #include "fsmgraph.h" diff --git a/src/fsmattach.cc b/src/fsmattach.cc index fd8f10a3..a58ed9a4 100644 --- a/src/fsmattach.cc +++ b/src/fsmattach.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <string.h> #include <assert.h> #include "fsmgraph.h" diff --git a/src/fsmbase.cc b/src/fsmbase.cc index 8580e553..90341039 100644 --- a/src/fsmbase.cc +++ b/src/fsmbase.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <string.h> #include <assert.h> #include "fsmgraph.h" diff --git a/src/fsmcodegen.cc b/src/fsmcodegen.cc index fb2b3f5e..a32587e7 100644 --- a/src/fsmcodegen.cc +++ b/src/fsmcodegen.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include "compiler.h" #include "fsmcodegen.h" #include "redfsm.h" diff --git a/src/fsmcodegen.h b/src/fsmcodegen.h index 6edb3e6f..17678917 100644 --- a/src/fsmcodegen.h +++ b/src/fsmcodegen.h @@ -2,6 +2,23 @@ * Copyright 2001-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _FSMCODEGEN_H #define _FSMCODEGEN_H diff --git a/src/fsmexec.cc b/src/fsmexec.cc index cccba0f2..12f0f3a8 100644 --- a/src/fsmexec.cc +++ b/src/fsmexec.cc @@ -2,6 +2,23 @@ * Copyright 2007-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <string.h> #include <iostream> diff --git a/src/fsmgraph.cc b/src/fsmgraph.cc index 31299dd2..bf2d2446 100644 --- a/src/fsmgraph.cc +++ b/src/fsmgraph.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <assert.h> #include <iostream> diff --git a/src/fsmgraph.h b/src/fsmgraph.h index ee7b0b2a..9a0f2aea 100644 --- a/src/fsmgraph.h +++ b/src/fsmgraph.h @@ -2,6 +2,23 @@ * Copyright 2001-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _FSMGRAPH_H #define _FSMGRAPH_H diff --git a/src/fsmmin.cc b/src/fsmmin.cc index 70541745..cbb2b99f 100644 --- a/src/fsmmin.cc +++ b/src/fsmmin.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include "fsmgraph.h" #include "mergesort.h" diff --git a/src/fsmstate.cc b/src/fsmstate.cc index 7c5b6788..f917302e 100644 --- a/src/fsmstate.cc +++ b/src/fsmstate.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <string.h> #include <assert.h> #include "fsmgraph.h" diff --git a/src/global.h b/src/global.h index 9964d995..553d580e 100644 --- a/src/global.h +++ b/src/global.h @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef __COLM_GLOBAL_H #define __COLM_GLOBAL_H diff --git a/src/input.c b/src/input.c index 3e55c5e0..fa6bb5dc 100644 --- a/src/input.c +++ b/src/input.c @@ -2,6 +2,23 @@ * Copyright 2007-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <colm/input.h> #include <colm/pdarun.h> #include <colm/debug.h> diff --git a/src/input.h b/src/input.h index fe29b36e..533389c3 100644 --- a/src/input.h +++ b/src/input.h @@ -2,6 +2,23 @@ * Copyright 2007-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _INPUT_H #define _INPUT_H @@ -2,6 +2,23 @@ * Copyright 2007-2014 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <colm/tree.h> #include <colm/bytecode.h> #include <colm/program.h> diff --git a/src/keyops.h b/src/keyops.h index da5f60a9..a79881e7 100644 --- a/src/keyops.h +++ b/src/keyops.h @@ -2,6 +2,23 @@ * Copyright 2001-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _KEYOPS_H #define _KEYOPS_H @@ -2,6 +2,23 @@ * Copyright 2007-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <colm/pdarun.h> #include <colm/program.h> #include <colm/struct.h> diff --git a/src/lmparse.kh b/src/lmparse.kh index b4a0ce2c..416ba41f 100644 --- a/src/lmparse.kh +++ b/src/lmparse.kh @@ -2,6 +2,23 @@ * Copyright 2001-2007, 2013 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef LMPARSE_H #define LMPARSE_H diff --git a/src/lmparse.kl b/src/lmparse.kl index f0fe939e..fafa653a 100644 --- a/src/lmparse.kl +++ b/src/lmparse.kl @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <iostream> #include <errno.h> diff --git a/src/lmscan.h b/src/lmscan.h index 77566e86..e68ca242 100644 --- a/src/lmscan.h +++ b/src/lmscan.h @@ -2,6 +2,23 @@ * Copyright 2007-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _RLSCAN_H #define _RLSCAN_H diff --git a/src/lmscan.rl b/src/lmscan.rl index 68956d6c..797cbaeb 100644 --- a/src/lmscan.rl +++ b/src/lmscan.rl @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <iostream> #include <fstream> #include <string.h> diff --git a/src/loadcolm.cc b/src/loadcolm.cc index c1cdcd6d..fa1312c7 100644 --- a/src/loadcolm.cc +++ b/src/loadcolm.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <iostream> #include <errno.h> diff --git a/src/loadcolm.h b/src/loadcolm.h index c7901564..bfc0589f 100644 --- a/src/loadcolm.h +++ b/src/loadcolm.h @@ -2,6 +2,23 @@ * Copyright 2013 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include "parser.h" BaseParser *consLoadColm( Compiler *pd, const char *inputFileName ); diff --git a/src/loadinit.cc b/src/loadinit.cc index a5d0c20e..9d1e1764 100644 --- a/src/loadinit.cc +++ b/src/loadinit.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <iostream> #include <string> #include <errno.h> diff --git a/src/loadinit.h b/src/loadinit.h index 4af25836..34c901b5 100644 --- a/src/loadinit.h +++ b/src/loadinit.h @@ -2,6 +2,23 @@ * Copyright 2013 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <iostream> #include "avltree.h" #include "compiler.h" diff --git a/src/lookup.cc b/src/lookup.cc index 5514c00a..90e8c051 100644 --- a/src/lookup.cc +++ b/src/lookup.cc @@ -2,6 +2,23 @@ * Copyright 2007-2014 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include "bytecode.h" #include "compiler.h" diff --git a/src/main.cc b/src/main.cc index b2503ed0..1758579c 100644 --- a/src/main.cc +++ b/src/main.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <stdlib.h> #include <string.h> #include <stdio.h> @@ -2,6 +2,22 @@ * Copyright 2010-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ #include <assert.h> #include <colm/pdarun.h> @@ -2,6 +2,25 @@ * Copyright 2008-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include "pdarun.h" #include <assert.h> + + @@ -2,6 +2,23 @@ * Copyright 2010-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _MAP_H #define _MAP_H diff --git a/src/parser.cc b/src/parser.cc index 1b8883de..42cef84f 100644 --- a/src/parser.cc +++ b/src/parser.cc @@ -2,6 +2,23 @@ * Copyright 2006-2014 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <iostream> #include <errno.h> diff --git a/src/parser.h b/src/parser.h index 7e87a46f..b973d956 100644 --- a/src/parser.h +++ b/src/parser.h @@ -2,6 +2,23 @@ * Copyright 2013 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef PARSER_H #define PARSER_H diff --git a/src/parsetree.cc b/src/parsetree.cc index 69c59ac3..6f838c26 100644 --- a/src/parsetree.cc +++ b/src/parsetree.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include "avltree.h" #include "compiler.h" #include "parser.h" diff --git a/src/parsetree.h b/src/parsetree.h index bc3ec2f6..b88c89b5 100644 --- a/src/parsetree.h +++ b/src/parsetree.h @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _PARSETREE_H #define _PARSETREE_H diff --git a/src/pcheck.cc b/src/pcheck.cc index febfe071..d5401f7d 100644 --- a/src/pcheck.cc +++ b/src/pcheck.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include "pcheck.h" #include <assert.h> diff --git a/src/pcheck.h b/src/pcheck.h index 6808bce4..5be60426 100644 --- a/src/pcheck.h +++ b/src/pcheck.h @@ -2,6 +2,23 @@ * Copyright 2001, 2002 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _PCHECK_H #define _PCHECK_H diff --git a/src/pdabuild.cc b/src/pdabuild.cc index 6ec02a16..6b177853 100644 --- a/src/pdabuild.cc +++ b/src/pdabuild.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #define EOF_REGION 0 #include <iostream> diff --git a/src/pdacodegen.cc b/src/pdacodegen.cc index d84b01b5..9584c23f 100644 --- a/src/pdacodegen.cc +++ b/src/pdacodegen.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <iostream> #include <stdlib.h> #include <ctype.h> diff --git a/src/pdacodegen.h b/src/pdacodegen.h index 89a7d8db..d49b94df 100644 --- a/src/pdacodegen.h +++ b/src/pdacodegen.h @@ -2,6 +2,24 @@ * Copyright 2007-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + #ifndef _PDACODEGEN_H #define _PDACODEGEN_H diff --git a/src/pdagraph.cc b/src/pdagraph.cc index 687d8169..8f17b7a5 100644 --- a/src/pdagraph.cc +++ b/src/pdagraph.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <string.h> #include <iostream> #include <string.h> diff --git a/src/pdagraph.h b/src/pdagraph.h index 4aca44a5..af6eb3d5 100644 --- a/src/pdagraph.h +++ b/src/pdagraph.h @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _PDAGRAPH_H #define _PDAGRAPH_H diff --git a/src/pdarun.c b/src/pdarun.c index 1d94dd96..605a3df7 100644 --- a/src/pdarun.c +++ b/src/pdarun.c @@ -2,6 +2,23 @@ * Copyright 2007-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include "config.h" #include "debug.h" #include "pdarun.h" diff --git a/src/pdarun.h b/src/pdarun.h index 5d59bed8..6213d2bd 100644 --- a/src/pdarun.h +++ b/src/pdarun.h @@ -2,6 +2,23 @@ * Copyright 2007-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef __COLM_PDARUN_H #define __COLM_PDARUN_H @@ -2,6 +2,23 @@ * Copyright 2010-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <string.h> #include <stdlib.h> @@ -2,6 +2,23 @@ * Copyright 2010-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _POOL_H #define _POOL_H diff --git a/src/program.c b/src/program.c index b3063b97..598627d3 100644 --- a/src/program.c +++ b/src/program.c @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <colm/pdarun.h> #include <colm/tree.h> #include <colm/bytecode.h> diff --git a/src/program.h b/src/program.h index 92e13ab8..94e8bb3c 100644 --- a/src/program.h +++ b/src/program.h @@ -2,6 +2,23 @@ * Copyright 2007-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef __COLM_PROGRAM_H #define __COLM_PROGRAM_H diff --git a/src/redbuild.cc b/src/redbuild.cc index 764af9f3..257bc929 100644 --- a/src/redbuild.cc +++ b/src/redbuild.cc @@ -2,6 +2,24 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + #include "global.h" #include "redbuild.h" #include "fsmgraph.h" diff --git a/src/redbuild.h b/src/redbuild.h index 27a73bc2..5cadef16 100644 --- a/src/redbuild.h +++ b/src/redbuild.h @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _FSMREDUCE_H #define _FSMREDUCE_H diff --git a/src/redfsm.cc b/src/redfsm.cc index 70e3f352..5ec075ce 100644 --- a/src/redfsm.cc +++ b/src/redfsm.cc @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <iostream> #include <sstream> #include "redfsm.h" diff --git a/src/redfsm.h b/src/redfsm.h index 8f9ff283..1858fe82 100644 --- a/src/redfsm.h +++ b/src/redfsm.h @@ -2,6 +2,23 @@ * Copyright 2006-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef _REDFSM_H #define _REDFSM_H diff --git a/src/resolve.cc b/src/resolve.cc index 5d9b9436..e2820bce 100644 --- a/src/resolve.cc +++ b/src/resolve.cc @@ -2,6 +2,23 @@ * Copyright 2009-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include "bytecode.h" #include "compiler.h" #include <iostream> diff --git a/src/string.c b/src/string.c index 3e2676ba..31472e21 100644 --- a/src/string.c +++ b/src/string.c @@ -2,6 +2,23 @@ * Copyright 2007-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <colm/pool.h> #include <colm/pdarun.h> #include <colm/bytecode.h> diff --git a/src/synthesis.cc b/src/synthesis.cc index 1a44f229..d30154b5 100644 --- a/src/synthesis.cc +++ b/src/synthesis.cc @@ -2,6 +2,23 @@ MethodMapEl* Copyright 2007-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include "bytecode.h" #include "compiler.h" #include "pdarun.h" @@ -2,6 +2,23 @@ * Copyright 2007-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #include <colm/pdarun.h> #include <colm/tree.h> #include <colm/pool.h> @@ -2,6 +2,23 @@ * Copyright 2010-2012 Adrian Thurston <thurston@complang.org> */ +/* This file is part of Colm. + * + * Colm 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 2 of the License, or + * (at your option) any later version. + * + * Colm 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 Colm; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + #ifndef __COLM_TREE_H #define __COLM_TREE_H |