aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/Token.h
diff options
context:
space:
mode:
Diffstat (limited to 'libsolidity/Token.h')
-rw-r--r--libsolidity/Token.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/Token.h b/libsolidity/Token.h
index 7c7b1c7f..bc242ecf 100644
--- a/libsolidity/Token.h
+++ b/libsolidity/Token.h
@@ -344,7 +344,7 @@ public:
// Returns a string corresponding to the C++ token name
// (e.g. "LT" for the token LT).
- static char const* getName(Value tok)
+ static char const* name(Value tok)
{
solAssert(tok < NUM_TOKENS, "");
return m_name[tok];