diff options
| author | Melodi <62381002+Melodi17@users.noreply.github.com> | 2025-08-28 22:30:02 +1000 |
|---|---|---|
| committer | Melodi <62381002+Melodi17@users.noreply.github.com> | 2025-08-28 22:30:02 +1000 |
| commit | 5d012f16b2a0200087afe9dffc906046d258b3b8 (patch) | |
| tree | ad7a8cee368d1b83e08df13243678a34d34c6aae /Compiler | |
| parent | 76cea79a46d42f8f59503d3bb421f0d298da66cb (diff) | |
seperated modules out
Diffstat (limited to 'Compiler')
| -rw-r--r-- | Compiler/Preprocessor.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Compiler/Preprocessor.cs b/Compiler/Preprocessor.cs index 01c14ab..fba28c1 100644 --- a/Compiler/Preprocessor.cs +++ b/Compiler/Preprocessor.cs @@ -50,7 +50,7 @@ public static class Preprocessor } // expand macros - foreach (KeyValuePair<string, string> kvp in Defines) + foreach (KeyValuePair<string, string> kvp in Defines.OrderByDescending(k => k.Key.Length)) line = line.Replace(kvp.Key, kvp.Value); output.Add(line); |
