diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-19 00:30:10 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2014-12-19 00:30:10 +0800 |
commit | 1da53d1681cbccbb18d08659787042d53438b5c3 (patch) | |
tree | bd5cdba18ca2cdce3fb4be5ace595aa60c7bd39e /Scanner.h | |
parent | 0cdacde3b9bc8209c910c0d0df4744390714dffc (diff) | |
download | dexon-solidity-1da53d1681cbccbb18d08659787042d53438b5c3.tar.gz dexon-solidity-1da53d1681cbccbb18d08659787042d53438b5c3.tar.zst dexon-solidity-1da53d1681cbccbb18d08659787042d53438b5c3.zip |
Factoring forward slash scanning out to its own function
Diffstat (limited to 'Scanner.h')
-rw-r--r-- | Scanner.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -194,6 +194,8 @@ private: Token::Value scanString(); Token::Value scanSingleLineDocComment(); Token::Value scanMultiLineDocComment(); + /// Scans a slash '/' and depending on the characters returns the appropriate token + Token::Value scanSlash(); /// Scans an escape-sequence which is part of a string and adds the /// decoded character to the current literal. Returns true if a pattern |