summaryrefslogtreecommitdiff
path: root/src/map/magic-expr.py
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-10-15 16:41:14 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-10-15 16:41:14 -0700
commit58e4ec577f3168eba282e9ad36257e9bee0702f2 (patch)
treeeea2dc57e42566eee7ef93b17855a011831eea61 /src/map/magic-expr.py
parent780a0d771edbe21dcfa3405163ffbdf7f7fa4604 (diff)
downloadtmwa-58e4ec577f3168eba282e9ad36257e9bee0702f2.tar.gz
tmwa-58e4ec577f3168eba282e9ad36257e9bee0702f2.tar.bz2
tmwa-58e4ec577f3168eba282e9ad36257e9bee0702f2.tar.xz
tmwa-58e4ec577f3168eba282e9ad36257e9bee0702f2.zip
Always print symbols if known for pointers
Diffstat (limited to 'src/map/magic-expr.py')
-rw-r--r--src/map/magic-expr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/magic-expr.py b/src/map/magic-expr.py
index 0d9db55..c48b79b 100644
--- a/src/map/magic-expr.py
+++ b/src/map/magic-expr.py
@@ -34,5 +34,5 @@ class fun_t(object):
('static_cast<tmwa::magic::fun_t *>(nullptr)',
'(fun_t *) nullptr'),
('new tmwa::magic::fun_t{"name"_s, "sig"_s, \'\\0\', nullptr}',
- 'regex:\(fun_t \*\) = \{->name = "name", ->signature = "sig", ->ret_ty = 0 \'\\\\000\', ->fun = (0x)?0}'),
+ '(fun_t *) = {->name = "name", ->signature = "sig", ->ret_ty = 0 \'\\000\', ->fun = nullptr}'),
]