diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-18 20:27:25 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-18 22:03:45 +0800 |
commit | f73278c8b2373e4cd27408618ef4a65001ff1437 (patch) | |
tree | 36835e60aebf792e94faada2ef891b82f1ffcd10 /Scanner.h | |
parent | d3234c51b9de3548bef5a2afd0fc55851fce43d7 (diff) | |
download | dexon-solidity-f73278c8b2373e4cd27408618ef4a65001ff1437.tar.gz dexon-solidity-f73278c8b2373e4cd27408618ef4a65001ff1437.tar.zst dexon-solidity-f73278c8b2373e4cd27408618ef4a65001ff1437.zip |
Scanner properly scans multiline natspec comments
- Single and multiline natspect comments get the initial whitespace
skipped now
- Some rules introduced for the multiline comments. If first line is
empty then no newline is added to the literal. Same thing with the
last line. Finally in all lines initial '*' are skipped
Diffstat (limited to 'Scanner.h')
-rw-r--r-- | Scanner.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -182,6 +182,8 @@ private: /// Skips all whitespace and @returns true if something was skipped. bool skipWhitespace(); + /// Skips all whitespace except Line feeds and returns true if something was skipped + bool skipWhitespaceExceptLF(); Token::Value skipSingleLineComment(); Token::Value skipMultiLineComment(); |