aboutsummaryrefslogtreecommitdiffstats
path: root/CompilerState.h
diff options
context:
space:
mode:
authorGav Wood <i@gavwood.com>2014-05-30 20:55:07 +0800
committerGav Wood <i@gavwood.com>2014-05-30 20:55:07 +0800
commitb379ce906530797f0f58569653b648ab64f2968d (patch)
tree326b6e471cf081ea28808fc74777bfbcb1ed379e /CompilerState.h
parent78c0baa026d69a6b03d0f3d9288c4da4e03f4b96 (diff)
downloaddexon-solidity-b379ce906530797f0f58569653b648ab64f2968d.tar
dexon-solidity-b379ce906530797f0f58569653b648ab64f2968d.tar.gz
dexon-solidity-b379ce906530797f0f58569653b648ab64f2968d.tar.bz2
dexon-solidity-b379ce906530797f0f58569653b648ab64f2968d.tar.lz
dexon-solidity-b379ce906530797f0f58569653b648ab64f2968d.tar.xz
dexon-solidity-b379ce906530797f0f58569653b648ab64f2968d.tar.zst
dexon-solidity-b379ce906530797f0f58569653b648ab64f2968d.zip
Variadic macros work.
Diffstat (limited to 'CompilerState.h')
-rw-r--r--CompilerState.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/CompilerState.h b/CompilerState.h
index 7f3cef82..b7581e0b 100644
--- a/CompilerState.h
+++ b/CompilerState.h
@@ -43,7 +43,7 @@ struct CompilerState
std::map<std::string, CodeFragment> defs;
std::map<std::string, CodeFragment> args;
std::map<std::string, CodeFragment> outers;
- std::map<std::string, Macro> macros;
+ std::map<std::pair<std::string, unsigned>, Macro> macros;
std::vector<boost::spirit::utree> treesToKill;
};