diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-08-28 14:28:43 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-08-28 14:28:43 -0700 |
commit | 7245589dcbc08c377f783a637deeaa09604c6213 (patch) | |
tree | b553c5a3970a3268b1bc6ede089e50ba948ac119 /src/map/magic-expr.py | |
parent | 9e01aa7912f782fc9049f8098a4618bba3a82fa0 (diff) | |
download | tmwa-7245589dcbc08c377f783a637deeaa09604c6213.tar.gz tmwa-7245589dcbc08c377f783a637deeaa09604c6213.tar.bz2 tmwa-7245589dcbc08c377f783a637deeaa09604c6213.tar.xz tmwa-7245589dcbc08c377f783a637deeaa09604c6213.zip |
Compatibility with gdb 7.4
Diffstat (limited to 'src/map/magic-expr.py')
-rw-r--r-- | src/map/magic-expr.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/map/magic-expr.py b/src/map/magic-expr.py index 865a175..0d9db55 100644 --- a/src/map/magic-expr.py +++ b/src/map/magic-expr.py @@ -31,6 +31,8 @@ class fun_t(object): ''' tests = [ - ('static_cast<tmwa::magic::fun_t *>(nullptr)', '(fun_t *) nullptr'), - ('new tmwa::magic::fun_t{"name"_s, "sig"_s, \'\\0\', nullptr}', '(fun_t *) = {->name = "name", ->signature = "sig", ->ret_ty = 0 \'\\000\', ->fun = 0x0}'), + ('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}'), ] |