From 6bae7e6df5ed3b8a6317084ff9e627feeeb409a6 Mon Sep 17 00:00:00 2001 From: Alex Date: Mon, 11 Mar 2024 22:43:26 +0200 Subject: [PATCH] Fix unhappy MSVC compiler on special toekens --- ASTNode.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ASTNode.h b/ASTNode.h index 90ad8c7e4..300819403 100644 --- a/ASTNode.h +++ b/ASTNode.h @@ -609,15 +609,15 @@ class ASTIterBlock : public ASTBlock { class ASTContainerBlock : public ASTBlock { public: - ASTContainerBlock(int _finally, int _except = 0) - : ASTBlock(ASTBlock::BLK_CONTAINER, 0), m_finally(_finally), m_except(_except) { } + ASTContainerBlock(int finally_, int except_ = 0) + : ASTBlock(ASTBlock::BLK_CONTAINER, 0), m_finally(finally_), m_except(except_) { } bool hasFinally() const { return m_finally != 0; } bool hasExcept() const { return m_except != 0; } int finally() const { return m_finally; } int except() const { return m_except; } - void setExcept(int _except) { m_except = _except; } + void setExcept(int except_) { m_except = except_; } private: int m_finally;