aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/parsing/Parser.h
diff options
context:
space:
mode:
authorchriseth <chris@ethereum.org>2017-08-21 18:33:29 +0800
committerchriseth <chris@ethereum.org>2017-08-22 18:44:22 +0800
commit692e4c57e83607f21d0c1b1b735585b3b63564f3 (patch)
tree91d8ba9a3d9293282611505380f9040fb527ef1c /libsolidity/parsing/Parser.h
parent97cb571ba49b81bd20b840e20f27c2cf55730d81 (diff)
downloaddexon-solidity-692e4c57e83607f21d0c1b1b735585b3b63564f3.tar
dexon-solidity-692e4c57e83607f21d0c1b1b735585b3b63564f3.tar.gz
dexon-solidity-692e4c57e83607f21d0c1b1b735585b3b63564f3.tar.bz2
dexon-solidity-692e4c57e83607f21d0c1b1b735585b3b63564f3.tar.lz
dexon-solidity-692e4c57e83607f21d0c1b1b735585b3b63564f3.tar.xz
dexon-solidity-692e4c57e83607f21d0c1b1b735585b3b63564f3.tar.zst
dexon-solidity-692e4c57e83607f21d0c1b1b735585b3b63564f3.zip
Check recursion depth in assembly parser.
Diffstat (limited to 'libsolidity/parsing/Parser.h')
-rw-r--r--libsolidity/parsing/Parser.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/libsolidity/parsing/Parser.h b/libsolidity/parsing/Parser.h
index 0f74880c..cfdfea7e 100644
--- a/libsolidity/parsing/Parser.h
+++ b/libsolidity/parsing/Parser.h
@@ -41,7 +41,6 @@ public:
private:
class ASTNodeFactory;
- class RecursionGuard;
struct VarDeclParserOptions
{
@@ -165,14 +164,8 @@ private:
/// Creates an empty ParameterList at the current location (used if parameters can be omitted).
ASTPointer<ParameterList> createEmptyParameterList();
- /// Increases the recursion depth and throws an exception if it is too deep.
- void increaseRecursionDepth();
- void decreaseRecursionDepth();
-
/// Flag that signifies whether '_' is parsed as a PlaceholderStatement or a regular identifier.
bool m_insideModifier = false;
- /// Current recursion depth during parsing.
- size_t m_recursionDepth = 0;
};
}