From 7e9827704c20e989d40593ee3fc627da346d8fd3 Mon Sep 17 00:00:00 2001 From: Jussi Pakkanen Date: Fri, 15 Mar 2013 22:04:19 +0200 Subject: [PATCH] Fixed some printed text. --- backends.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backends.py b/backends.py index c30b65e24..68dd14287 100755 --- a/backends.py +++ b/backends.py @@ -54,7 +54,7 @@ def do_replacement(regex, line, variables): def do_mesondefine(line, variables): arr = line.split() if len(arr) != 2: - raise interpreter.InvalidArguments('#cmakedefine does not contain exactly two tokens.') + raise interpreter.InvalidArguments('#mesondefine does not contain exactly two tokens.') varname = arr[1] v = variables.get(varname, False) if isinstance(v, bool): @@ -62,7 +62,7 @@ def do_mesondefine(line, variables): elif isinstance(v, nodes.BoolStatement): value = v.get_value() else: - raise interpreter.InvalidArguments('#cmakedefine argument "%s" is not boolean.' % varname) + raise interpreter.InvalidArguments('#mesondefine argument "%s" is not boolean.' % varname) if value: return '#define %s\n' % varname return '/* undef %s */\n' % varname