aboutsummaryrefslogtreecommitdiffstats
path: root/Token.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Token.cpp')
-rw-r--r--Token.cpp21
1 files changed, 14 insertions, 7 deletions
diff --git a/Token.cpp b/Token.cpp
index 0264f7e8..564be734 100644
--- a/Token.cpp
+++ b/Token.cpp
@@ -42,25 +42,30 @@
#include <libsolidity/Token.h>
-namespace dev {
-namespace solidity {
+namespace dev
+{
+namespace solidity
+{
#define T(name, string, precedence) #name,
-const char* const Token::m_name[NUM_TOKENS] = {
+const char* const Token::m_name[NUM_TOKENS] =
+{
TOKEN_LIST(T, T)
};
#undef T
#define T(name, string, precedence) string,
-const char* const Token::m_string[NUM_TOKENS] = {
+const char* const Token::m_string[NUM_TOKENS] =
+{
TOKEN_LIST(T, T)
};
#undef T
#define T(name, string, precedence) precedence,
-const int8_t Token::m_precedence[NUM_TOKENS] = {
+const int8_t Token::m_precedence[NUM_TOKENS] =
+{
TOKEN_LIST(T, T)
};
#undef T
@@ -68,10 +73,12 @@ const int8_t Token::m_precedence[NUM_TOKENS] = {
#define KT(a, b, c) 'T',
#define KK(a, b, c) 'K',
-const char Token::m_tokenType[] = {
+const char Token::m_tokenType[] =
+{
TOKEN_LIST(KT, KK)
};
#undef KT
#undef KK
-} }
+}
+}