diff options
Diffstat (limited to 'mixutils')
-rw-r--r-- | mixutils/mixasm.c | 4 | ||||
-rw-r--r-- | mixutils/mixasm_comp.c | 22 | ||||
-rw-r--r-- | mixutils/mixasm_comp.h | 12 | ||||
-rw-r--r-- | mixutils/mixvm.c | 4 | ||||
-rw-r--r-- | mixutils/mixvm_command.c | 4 | ||||
-rw-r--r-- | mixutils/mixvm_command.h | 4 | ||||
-rw-r--r-- | mixutils/mixvm_loop.c | 4 | ||||
-rw-r--r-- | mixutils/mixvm_loop.h | 4 |
8 files changed, 29 insertions, 29 deletions
diff --git a/mixutils/mixasm.c b/mixutils/mixasm.c index 4342fc7..c2a0511 100644 --- a/mixutils/mixasm.c +++ b/mixutils/mixasm.c @@ -1,11 +1,11 @@ /* -*-c-*- -------------- mixasm.c: * Main function of mixasm, the mix assembler * ------------------------------------------------------------------ - * Copyright (C) 2000, 2001, 2002, 2004, 2005, 2006 Free Software Foundation, Inc. + * Copyright (C) 2000, 2001, 2002, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. * * 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 2 of the License, or + * 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, diff --git a/mixutils/mixasm_comp.c b/mixutils/mixasm_comp.c index 0bbf8a0..237c1a5 100644 --- a/mixutils/mixasm_comp.c +++ b/mixutils/mixasm_comp.c @@ -1,22 +1,22 @@ /* -*-c-*- -------------- mixasm_comp.c : * Implementation of the functions declared in mixasm_comp.h * ------------------------------------------------------------------ - * Copyright (C) 2000 Free Software Foundation, Inc. - * + * Copyright (C) 2000, 2007 Free Software Foundation, Inc. + * * 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 2 of the License, or + * 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, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * + * */ #include <mixlib/mix.h> @@ -32,7 +32,7 @@ mix_asm_compile(const gchar *src, const gchar *out, gboolean use_list, int result = EXIT_SUCCESS; mix_parser_t *parser; mix_parser_err_t error; - + if ( (parser = mix_parser_new(src)) == NULL ) { fprintf(stderr, _("*** Unable to open source file %s\n"), src); @@ -49,8 +49,8 @@ mix_asm_compile(const gchar *src, const gchar *out, gboolean use_list, mix_parser_err_string(error)); result = EXIT_FAILURE; } - else if ( use_list - && (error = mix_parser_write_listing(parser, list)) != + else if ( use_list + && (error = mix_parser_write_listing(parser, list)) != MIX_PERR_OK) { fprintf(stderr, _("*** Error writing listing file: %s\n"), @@ -60,11 +60,11 @@ mix_asm_compile(const gchar *src, const gchar *out, gboolean use_list, } else { - fprintf(stderr, _("(%d warning(s), %d error(s))\n"), + fprintf(stderr, _("(%d warning(s), %d error(s))\n"), mix_parser_warning_count(parser), mix_parser_err_count(parser)); result = EXIT_FAILURE; } - + mix_parser_delete(parser); return result; } diff --git a/mixutils/mixasm_comp.h b/mixutils/mixasm_comp.h index f6537f4..0f9f19f 100644 --- a/mixutils/mixasm_comp.h +++ b/mixutils/mixasm_comp.h @@ -1,22 +1,22 @@ /* -*-c-*- ---------------- mixasm_comp.h : * Declarations of functions used to compile mix source files. * ------------------------------------------------------------------ - * Copyright (C) 2000 Free Software Foundation, Inc. - * + * Copyright (C) 2000, 2007 Free Software Foundation, Inc. + * * 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 2 of the License, or + * 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, write to the Free Software * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - * + * */ diff --git a/mixutils/mixvm.c b/mixutils/mixvm.c index f90e544..9647a33 100644 --- a/mixutils/mixvm.c +++ b/mixutils/mixvm.c @@ -1,11 +1,11 @@ /* -*-c-*- -------------- mixvm.c : * Main function for mixvm, the mix vm simulator * ------------------------------------------------------------------ - * Copyright (C) 2000, 2001, 2002, 2004, 2006 Free Software Foundation, Inc. + * Copyright (C) 2000, 2001, 2002, 2004, 2006, 2007 Free Software Foundation, Inc. * * 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 2 of the License, or + * 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, diff --git a/mixutils/mixvm_command.c b/mixutils/mixvm_command.c index ec3fd6c..8506fa7 100644 --- a/mixutils/mixvm_command.c +++ b/mixutils/mixvm_command.c @@ -1,11 +1,11 @@ /* -*-c-*- -------------- mixvm_command.c : * Implementation of the functions declared in mixvm_command.h * ------------------------------------------------------------------ - * Copyright (C) 2000, 2001, 2002, 2004, 2006 Free Software Foundation, Inc. + * Copyright (C) 2000, 2001, 2002, 2004, 2006, 2007 Free Software Foundation, Inc. * * 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 2 of the License, or + * 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, diff --git a/mixutils/mixvm_command.h b/mixutils/mixvm_command.h index 7b6dfa8..f8cbf39 100644 --- a/mixutils/mixvm_command.h +++ b/mixutils/mixvm_command.h @@ -1,11 +1,11 @@ /* -*-c-*- ---------------- mixvm_command.h : * Declarations for commands accepted by the mix virtual machine * ------------------------------------------------------------------ - * Copyright (C) 2000, 2001, 2002, 2006 Free Software Foundation, Inc. + * Copyright (C) 2000, 2001, 2002, 2006, 2007 Free Software Foundation, Inc. * * 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 2 of the License, or + * 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, diff --git a/mixutils/mixvm_loop.c b/mixutils/mixvm_loop.c index f8a6087..ad486f0 100644 --- a/mixutils/mixvm_loop.c +++ b/mixutils/mixvm_loop.c @@ -1,11 +1,11 @@ /* -*-c-*- -------------- mixvm_loop.c : * Implementation of mix vm command loop. * ------------------------------------------------------------------ - * Copyright (C) 2000, 2001, 2002, 2004, 2006 Free Software Foundation, Inc. + * Copyright (C) 2000, 2001, 2002, 2004, 2006, 2007 Free Software Foundation, Inc. * * 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 2 of the License, or + * 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, diff --git a/mixutils/mixvm_loop.h b/mixutils/mixvm_loop.h index 5cca75c..2340b02 100644 --- a/mixutils/mixvm_loop.h +++ b/mixutils/mixvm_loop.h @@ -1,11 +1,11 @@ /* -*-c-*- ---------------- mixvm_loop.h : * Declarations for functions controlling the mixvm loop. * ------------------------------------------------------------------ - * Copyright (C) 2000, 2001, 2006 Free Software Foundation, Inc. + * Copyright (C) 2000, 2001, 2006, 2007 Free Software Foundation, Inc. * * 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 2 of the License, or + * 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, |