aboutsummaryrefslogtreecommitdiffstats
path: root/Scanner.h
diff options
context:
space:
mode:
authorChristian <c@ethdev.com>2014-10-31 05:52:15 +0800
committerChristian <c@ethdev.com>2014-10-31 21:37:23 +0800
commita36db1f2412d700cc8b32f8331be103c73ea90cb (patch)
treeccbf14d061fcbae162d361eaeaeffb036e50d743 /Scanner.h
parentcb9cb48dc78240717cd4842e75c9314778ebcb10 (diff)
downloaddexon-solidity-a36db1f2412d700cc8b32f8331be103c73ea90cb.tar.gz
dexon-solidity-a36db1f2412d700cc8b32f8331be103c73ea90cb.tar.zst
dexon-solidity-a36db1f2412d700cc8b32f8331be103c73ea90cb.zip
Actual contract creator and add solidity to AlethZero interface.
Diffstat (limited to 'Scanner.h')
-rw-r--r--Scanner.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Scanner.h b/Scanner.h
index fbaba9ed..7754d71b 100644
--- a/Scanner.h
+++ b/Scanner.h
@@ -110,7 +110,8 @@ public:
bool complete_;
};
- explicit Scanner(CharStream const& _source);
+ Scanner() { reset(CharStream()); }
+ explicit Scanner(CharStream const& _source) { reset(_source); }
/// Resets the scanner as if newly constructed with _input as input.
void reset(CharStream const& _source);