summaryrefslogtreecommitdiff
path: root/src/map/magic-v2.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-05-20 20:33:25 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-05-20 20:35:29 -0700
commitcac49afdef0992b93d8718fd928d73d721d434f4 (patch)
tree3625817f1b14fffc9de572ca25beb98b02b97c00 /src/map/magic-v2.cpp
parentd4605dd35249d5ab55a604c94dcf3ea8f8be8297 (diff)
downloadtmwa-cac49afdef0992b93d8718fd928d73d721d434f4.tar.gz
tmwa-cac49afdef0992b93d8718fd928d73d721d434f4.tar.bz2
tmwa-cac49afdef0992b93d8718fd928d73d721d434f4.tar.xz
tmwa-cac49afdef0992b93d8718fd928d73d721d434f4.zip
:%s/^\( *\)\([^ ].*\)\?\(LOG\|PRINTF\)[A-Z_]*(\(.*,\n\)\+\zs\(\1 [^ ]\)\@! */\1 /
Diffstat (limited to 'src/map/magic-v2.cpp')
-rw-r--r--src/map/magic-v2.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/map/magic-v2.cpp b/src/map/magic-v2.cpp
index 1e2a330..ba43cb9 100644
--- a/src/map/magic-v2.cpp
+++ b/src/map/magic-v2.cpp
@@ -74,8 +74,8 @@ namespace magic_v2
if (zid != id)
{
FPRINTF(stderr,
- "[magic-conf] INTERNAL ERROR: Builtin special var %s interned to %d, not %d as it should be!\n"_fmt,
- name, zid, id);
+ "[magic-conf] INTERNAL ERROR: Builtin special var %s interned to %d, not %d as it should be!\n"_fmt,
+ name, zid, id);
}
return zid == id;
}
@@ -278,7 +278,7 @@ namespace magic_v2
if (op->signature.size() != argv.size())
{
span.error(STRPRINTF("Incorrect number of arguments to operation '%s': Expected %zu, found %zu"_fmt,
- name, op->signature.size(), argv.size()));
+ name, op->signature.size(), argv.size()));
return false;
}
@@ -314,7 +314,7 @@ namespace magic_v2
if (fun->signature.size() != argv.size())
{
span.error(STRPRINTF("Incorrect number of arguments to function '%s': Expected %zu, found %zu"_fmt,
- name, fun->signature.size(), argv.size()));
+ name, fun->signature.size(), argv.size()));
return false;
}
expr = magic_new_expr(EXPR::FUNAPP);