aboutsummaryrefslogtreecommitdiffstats
path: root/Scanner.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2015-01-05 23:37:43 +0800
committerLefteris Karapetsas <lefteris@refu.co>2015-01-05 23:37:43 +0800
commitb4712773d329269b2d6f732a3236f3685aea41fc (patch)
treec1d0ea6cbfffa862d0b7fe770e8ca6f13b128111 /Scanner.h
parent7b3f0e549de2ae292ae6dd9fa20165ed36cbc3b8 (diff)
downloaddexon-solidity-b4712773d329269b2d6f732a3236f3685aea41fc.tar.gz
dexon-solidity-b4712773d329269b2d6f732a3236f3685aea41fc.tar.zst
dexon-solidity-b4712773d329269b2d6f732a3236f3685aea41fc.zip
Fix for sol scanner where empty multiline comment became Natspec comment
Diffstat (limited to 'Scanner.h')
-rw-r--r--Scanner.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Scanner.h b/Scanner.h
index 5b90a94e..d93b79df 100644
--- a/Scanner.h
+++ b/Scanner.h
@@ -119,6 +119,7 @@ public:
{
return m_currentToken.token;
}
+
Location getCurrentLocation() const { return m_currentToken.location; }
std::string const& getCurrentLiteral() const { return m_currentToken.literal; }
///@}