From 55abb4f6f81fc370e349385b38dffb05fa9d5dcb Mon Sep 17 00:00:00 2001
From: Ferenc Szontágh <szf@fsociety.hu>
Date: Sat, 19 Apr 2025 20:36:38 +0000
Subject: [PATCH] add vscodium / vscode and vim syntax highlight
---
src/Parser/ParsedExpression.hpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/src/Parser/ParsedExpression.hpp b/src/Parser/ParsedExpression.hpp
index 4acff85..f95f196 100644
--- a/src/Parser/ParsedExpression.hpp
+++ b/src/Parser/ParsedExpression.hpp
@@ -30,6 +30,10 @@
// For function call arguments
std::vector<ParsedExpressionPtr> args;
std::vector<std::pair<std::string, ParsedExpressionPtr>> objectMembers;
+ // Source location for error reporting
+ std::string filename;
+ int line = 0;
+ size_t column = 0;
// Constructor for literal
static ParsedExpressionPtr makeLiteral(const Symbols::Value & val) {
--
Gitblit v1.9.3