aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/analysis/DeclarationContainer.h
diff options
context:
space:
mode:
authorLeonardo Alt <leo@ethereum.org>2018-06-15 18:30:28 +0800
committerLeonardo Alt <leo@ethereum.org>2018-06-20 18:53:38 +0800
commit8862b3092bcdbcb8314ec27e2b11bf25fcc6346a (patch)
tree4570b3adc9678c944546144f5989629003422194 /libsolidity/analysis/DeclarationContainer.h
parentba7fbf11e72a4f9da149ac3c9b4c908e4f215250 (diff)
downloaddexon-solidity-8862b3092bcdbcb8314ec27e2b11bf25fcc6346a.tar.gz
dexon-solidity-8862b3092bcdbcb8314ec27e2b11bf25fcc6346a.tar.zst
dexon-solidity-8862b3092bcdbcb8314ec27e2b11bf25fcc6346a.zip
C99 scoping rules by default
Diffstat (limited to 'libsolidity/analysis/DeclarationContainer.h')
-rw-r--r--libsolidity/analysis/DeclarationContainer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/analysis/DeclarationContainer.h b/libsolidity/analysis/DeclarationContainer.h
index e4b3320a..a3e0bd0a 100644
--- a/libsolidity/analysis/DeclarationContainer.h
+++ b/libsolidity/analysis/DeclarationContainer.h
@@ -58,7 +58,7 @@ public:
/// @returns whether declaration is valid, and if not also returns previous declaration.
Declaration const* conflictingDeclaration(Declaration const& _declaration, ASTString const* _name = nullptr) const;
- /// Activates a previously inactive (invisible) variable. To be used in C99 scpoing for
+ /// Activates a previously inactive (invisible) variable. To be used in C99 scoping for
/// VariableDeclarationStatements.
void activateVariable(ASTString const& _name);