summaryrefslogtreecommitdiffhomepage
path: root/mixutils/mixasm_comp.c
diff options
context:
space:
mode:
authorJose A Ortega Ruiz <jao@gnu.org>2007-06-25 23:20:06 +0000
committerJose A Ortega Ruiz <jao@gnu.org>2007-06-25 23:20:06 +0000
commitd6b247e85f35583a0e10c5000a3f93063c4b807c (patch)
tree24f492adcf3bdc810a24b6cba1957a831f8bd0bb /mixutils/mixasm_comp.c
parent33797e0618cb6318c299d2945903003a55e59e42 (diff)
downloadmdk-d6b247e85f35583a0e10c5000a3f93063c4b807c.tar.gz
mdk-d6b247e85f35583a0e10c5000a3f93063c4b807c.tar.bz2
GPL v3 notices
git-archimport-id: mdk@sv.gnu.org/mdk--devel--1--patch-43
Diffstat (limited to 'mixutils/mixasm_comp.c')
-rw-r--r--mixutils/mixasm_comp.c22
1 files changed, 11 insertions, 11 deletions
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;
}