diff options
author | Christian <c@ethdev.com> | 2014-10-20 19:02:06 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2014-10-20 19:02:06 +0800 |
commit | f0c334670dfef7c1b1d1ae610cf19ae9ad2822ca (patch) | |
tree | 7979e36c4b962bb3da82f86df52518b321bca947 /Token.cpp | |
parent | 646f106a34f189b225745a079fdc8560b9230e68 (diff) | |
download | dexon-solidity-f0c334670dfef7c1b1d1ae610cf19ae9ad2822ca.tar dexon-solidity-f0c334670dfef7c1b1d1ae610cf19ae9ad2822ca.tar.gz dexon-solidity-f0c334670dfef7c1b1d1ae610cf19ae9ad2822ca.tar.bz2 dexon-solidity-f0c334670dfef7c1b1d1ae610cf19ae9ad2822ca.tar.lz dexon-solidity-f0c334670dfef7c1b1d1ae610cf19ae9ad2822ca.tar.xz dexon-solidity-f0c334670dfef7c1b1d1ae610cf19ae9ad2822ca.tar.zst dexon-solidity-f0c334670dfef7c1b1d1ae610cf19ae9ad2822ca.zip |
Coding style cleanup: const and vecptr.
Diffstat (limited to 'Token.cpp')
-rw-r--r-- | Token.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -48,7 +48,7 @@ namespace solidity { #define T(name, string, precedence) #name, -const char* const Token::m_name[NUM_TOKENS] = +char const* const Token::m_name[NUM_TOKENS] = { TOKEN_LIST(T, T) }; @@ -56,7 +56,7 @@ const char* const Token::m_name[NUM_TOKENS] = #define T(name, string, precedence) string, -const char* const Token::m_string[NUM_TOKENS] = +char const* const Token::m_string[NUM_TOKENS] = { TOKEN_LIST(T, T) }; @@ -64,7 +64,7 @@ const char* const Token::m_string[NUM_TOKENS] = #define T(name, string, precedence) precedence, -const int8_t Token::m_precedence[NUM_TOKENS] = +int8_t const Token::m_precedence[NUM_TOKENS] = { TOKEN_LIST(T, T) }; @@ -73,7 +73,7 @@ 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[] = +char const Token::m_tokenType[] = { TOKEN_LIST(KT, KK) }; |