From 613e0da7825cd6ff66759b3faf66da0326bd5457 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?S=C3=A9bastien=20Villemot?= <sebastien@dynare.org>
Date: Tue, 26 Jul 2022 14:51:48 +0200
Subject: [PATCH] Bytecode: add some comments to FNUMEXPR_

[skip ci]
---
 src/Bytecode.hh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/Bytecode.hh b/src/Bytecode.hh
index 974aaad9..1f82337e 100644
--- a/src/Bytecode.hh
+++ b/src/Bytecode.hh
@@ -842,7 +842,9 @@ class FNUMEXPR_ : public BytecodeInstruction
 {
 private:
   ExpressionType expression_type;
-  int equation, dvariable1, lag1;
+  int equation; // Equation number (non-block-specific) (or temporary term number for ExpressionType::TemporaryTerm)
+  int dvariable1; // For derivatives, type-specific ID of the derivation variable
+  int lag1; // For derivatives, lead/lag of the derivation variable
 public:
   FNUMEXPR_(const ExpressionType expression_type_arg, int equation_arg) :
     BytecodeInstruction{Tags::FNUMEXPR},
-- 
GitLab