summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-11-15 22:08:40 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-11-15 22:08:40 +0100
commit45b85e7e6f3cfc1d3c5405506b595cb35b5c942c (patch)
tree9b031aa31dffd6ebde880a862c7c614f80ff48e1 /armor/global.m4.conf
parentebbfea0ecadf6d6278464ce1010beedb42a555bf (diff)
ID as strings.
Diffstat (limited to 'armor/global.m4.conf')
-rw-r--r--armor/global.m4.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/armor/global.m4.conf b/armor/global.m4.conf
index c327e1b..dfdde38 100644
--- a/armor/global.m4.conf
+++ b/armor/global.m4.conf
@@ -7,10 +7,10 @@ m4_define(`__ARMOR_CHOOSE_STYLE',
m4_dnl
m4_dnl
m4_dnl
-m4_define(`__ARMOR_ERLANG_STYLE',`from_id (`$1') ->
+m4_define(`__ARMOR_ERLANG_STYLE',`from_id (<<"`$1'">>) ->
#armor
{
- id = $1,
+ id = <<"$1">>,
name = <<"$2">>,
omnimods = __OMNIMODS($3, $4, $5, $6)
};
@@ -22,7 +22,7 @@ m4_dnl
m4_dnl
m4_define(`__ARMOR_JSON_STYLE',` {
"msg": "add_armor",
- "id": $1,
+ "id": "$1",
"nam": "$2",
"omni": __OMNIMODS($3, $4, $5, $6)
},