diff options
author | cooldome <cdome@bk.ru> | 2018-02-12 20:23:34 +0000 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-02-12 21:23:34 +0100 |
commit | d24b6667c6f74b61ea697bf91ce454f297ddac91 (patch) | |
tree | 85fed4537dfe34647f4a4800ccea14461ea92857 /lib/nimbase.h | |
parent | 7cbab49645541af01dbd5afac98df637b02a0c0a (diff) | |
download | Nim-d24b6667c6f74b61ea697bf91ce454f297ddac91.tar.gz |
genTryCpp to catch by Nim type, ready for first review (#7196)
* Rewrite genTryCpp * correction * Implement polymorphic raise in cpp * revert backticks in emit * Cleanp a comment * revert test changes * better handling of <new> header
Diffstat (limited to 'lib/nimbase.h')
-rw-r--r-- | lib/nimbase.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/nimbase.h b/lib/nimbase.h index 69699a2a4..a03407c4f 100644 --- a/lib/nimbase.h +++ b/lib/nimbase.h @@ -274,13 +274,6 @@ __clang__ # endif # define NIM_BOOL bool # define NIM_NIL 0 -struct NimException -{ - NimException(struct Exception* exp, const char* msg): exp(exp), msg(msg) {} - - struct Exception* exp; - const char* msg; -}; #else # ifdef bool # define NIM_BOOL bool |