aboutsummaryrefslogtreecommitdiffstats
path: root/Scanner.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2014-11-28 18:17:18 +0800
committerLefteris Karapetsas <lefteris@refu.co>2014-11-28 18:17:18 +0800
commitdb7b118ece60ae20f20c871bd257a1af5366423f (patch)
treedcef7027806d79c08a88406f77d2c0684f11b975 /Scanner.h
parente3e90c4e6bf3a5cb6399d6cfb8677d79a4a3f166 (diff)
downloaddexon-solidity-db7b118ece60ae20f20c871bd257a1af5366423f.tar.gz
dexon-solidity-db7b118ece60ae20f20c871bd257a1af5366423f.tar.zst
dexon-solidity-db7b118ece60ae20f20c871bd257a1af5366423f.zip
Solidity natspec docstring test improvements
- Adding a test for docstring being between function signature and function body - Properly checking for exceptions in parsing - Small parser fix
Diffstat (limited to 'Scanner.h')
-rw-r--r--Scanner.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Scanner.h b/Scanner.h
index edec344a..70231010 100644
--- a/Scanner.h
+++ b/Scanner.h
@@ -109,8 +109,7 @@ public:
class LiteralScope
{
public:
- explicit LiteralScope(Scanner* _self, enum LiteralType _type)
- : m_type(_type)
+ explicit LiteralScope(Scanner* _self, enum LiteralType _type): m_type(_type)
, m_scanner(_self)
, m_complete(false)
{