From ca47896204482bf4a6979e3838bf7f09f61cebeb Mon Sep 17 00:00:00 2001
From: giy <giy@omp-system.ru>
Date: Fri, 02 Sep 2022 14:16:56 +0300
Subject: [PATCH] Обновление до версии 2.9.0

---
 QtVsTest/MacroParser.cs |    9 +++++----
 1 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/QtVsTest/MacroParser.cs b/QtVsTest/MacroParser.cs
index 4f8d240..3d67713 100644
--- a/QtVsTest/MacroParser.cs
+++ b/QtVsTest/MacroParser.cs
@@ -27,17 +27,18 @@
 ****************************************************************************/
 
 using System;
+using System.Collections;
 using System.Collections.Generic;
 using System.Linq;
+using QtVsTools.SyntaxAnalysis;
 
 namespace QtVsTest.Macros
 {
-    using System.Collections;
-    using static QtVsTools.SyntaxAnalysis.RegExpr;
+    using static RegExpr;
 
     class MacroLines : IEnumerable<MacroLine>
     {
-        List<MacroLine> Lines = new List<MacroLine>();
+        readonly List<MacroLine> Lines = new List<MacroLine>();
 
         public void Add(MacroLine line) { Lines.Add(line); }
 
@@ -120,7 +121,7 @@
 
     public class CodeLine : MacroLine
     {
-        public string Code;
+        public readonly string Code;
         public CodeLine(string code)
         {
             Code = code;

--
Gitblit v1.9.1