From 42ea2aac34aea56e71a5ded99dd458d8eb34de1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= Date: Thu, 23 Mar 2023 18:28:48 +0100 Subject: [PATCH] Fix typo --- src/dynare-preprocessor-gdb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dynare-preprocessor-gdb.py b/src/dynare-preprocessor-gdb.py index 4c74e6ed..ef4e0727 100644 --- a/src/dynare-preprocessor-gdb.py +++ b/src/dynare-preprocessor-gdb.py @@ -1,6 +1,6 @@ # GDB pretty-printer for ExprNode class hierarchy -# Copyright © 2022 Dynare Team +# Copyright © 2022-2023 Dynare Team # # This file is part of Dynare. # @@ -44,7 +44,7 @@ class ExprNodePrinterControl(gdb.printing.PrettyPrinter): def __call__(self, val): # Check if the value is a subtype of ExprNode *. # Doing a dynamic_cast on a non-pointer type triggers an exception, so we first check - # whethe it’s a pointer (after resolving for typedefs, such as “expr_t”). + # whether it’s a pointer (after resolving for typedefs, such as “expr_t”). if val.type.strip_typedefs().code == gdb.TYPE_CODE_PTR and val.dynamic_cast(gdb.lookup_type('ExprNode').pointer()) != 0: return ExprNodePrinter(val)