diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-10-12 17:19:11 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-10-12 17:19:11 -0700 |
commit | afc095f513cf6601ef337ca53f4f1eda77b7f877 (patch) | |
tree | 4a4dd17bdd6f04abba34c7957a8ee38431cc7e18 /src/preamble.js | |
parent | 5002f74829ad816eb1748240c42f9800daf20190 (diff) |
parse anything after P, not just basic types
Diffstat (limited to 'src/preamble.js')
-rw-r--r-- | src/preamble.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/preamble.js b/src/preamble.js index 6e5d85b4..a02459ff 100644 --- a/src/preamble.js +++ b/src/preamble.js @@ -719,7 +719,7 @@ function demangle(func) { list.push(basicTypes[c]); } else { switch (c) { - case 'P': list.push(basicTypes[func[i++]] + '*'); break; // pointer + case 'P': list.push(parse(true, 1, true)[0] + '*'); break; // pointer case 'L': { // literal i++; // skip basic type var end = func.indexOf('E', i); |