From c295a7c40874e249024a6da43fe32bd50c5391e2 Mon Sep 17 00:00:00 2001 From: Liam Allan Date: Thu, 22 Feb 2018 01:21:41 +0000 Subject: [PATCH] Add LIKEDS to DSEnders --- ILEditor/Classes/LanguageTools/RPGParser.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ILEditor/Classes/LanguageTools/RPGParser.cs b/ILEditor/Classes/LanguageTools/RPGParser.cs index 0f8ee28..e859e0d 100644 --- a/ILEditor/Classes/LanguageTools/RPGParser.cs +++ b/ILEditor/Classes/LanguageTools/RPGParser.cs @@ -32,7 +32,7 @@ private static string GetTypeFromToken(RPGToken Token) return result; } - public static readonly string[] DSEnders = new[] { "EXTNAME", "LIKEREC" }; + public static readonly string[] DSEnders = new[] { "EXTNAME", "LIKEREC", "LIKEDS" }; public static Function[] Parse(string Code) { @@ -146,6 +146,7 @@ public static Function[] Parse(string Code) { CurrentProcedure.AddVariable(CurrentStruct); CurrentStruct = null; + break; } }