summaryrefslogtreecommitdiff
path: root/src/map/magic-stmt.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-stmt.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-stmt.py')
-rw-r--r--src/map/magic-stmt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/magic-stmt.py b/src/map/magic-stmt.py
index 14289ef..65f44a7 100644
--- a/src/map/magic-stmt.py
+++ b/src/map/magic-stmt.py
@@ -33,5 +33,5 @@ class op_t(object):
('static_cast<tmwa::magic::op_t *>(nullptr)',
'(op_t *) nullptr'),
('new tmwa::magic::op_t{"name"_s, "sig"_s, nullptr}',
- 'regex:\(op_t \*\) = \{->name = "name", ->signature = "sig", ->op = (0x)?0}'),
+ '(op_t *) = {->name = "name", ->signature = "sig", ->op = nullptr}'),
]