aboutsummaryrefslogtreecommitdiffstats
path: root/Scanner.h
diff options
context:
space:
mode:
authorLefteris Karapetsas <lefteris@refu.co>2014-12-19 00:30:10 +0800
committerLefteris Karapetsas <lefteris@refu.co>2014-12-19 00:30:10 +0800
commit1da53d1681cbccbb18d08659787042d53438b5c3 (patch)
treebd5cdba18ca2cdce3fb4be5ace595aa60c7bd39e /Scanner.h
parent0cdacde3b9bc8209c910c0d0df4744390714dffc (diff)
downloaddexon-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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Scanner.h b/Scanner.h
index 5e70db51..5b90a94e 100644
--- a/Scanner.h
+++ b/Scanner.h
@@ -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