diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-18 21:43:35 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-18 22:03:45 +0800 |
commit | a6b0fba22748ffa8a73d505f31bec8630f434f39 (patch) | |
tree | 8969a0dd76fd6a49377b6750daa8a8bd4fd91bb4 /Scanner.cpp | |
parent | f73278c8b2373e4cd27408618ef4a65001ff1437 (diff) | |
download | dexon-solidity-a6b0fba22748ffa8a73d505f31bec8630f434f39.tar.gz dexon-solidity-a6b0fba22748ffa8a73d505f31bec8630f434f39.tar.zst dexon-solidity-a6b0fba22748ffa8a73d505f31bec8630f434f39.zip |
Changes in InterfaceHandler to deal with multiline natspec
- Also now Solidity scanner considers Carriage Return as whitespace
- Tests for Natspec generation with the new multiline comments
Diffstat (limited to 'Scanner.cpp')
-rw-r--r-- | Scanner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Scanner.cpp b/Scanner.cpp index 890d6949..69b61ce4 100644 --- a/Scanner.cpp +++ b/Scanner.cpp @@ -80,7 +80,7 @@ bool isLineTerminator(char c) } bool isWhiteSpace(char c) { - return c == ' ' || c == '\n' || c == '\t'; + return c == ' ' || c == '\n' || c == '\t' || c == '\r'; } bool isIdentifierStart(char c) { |