diff options
| author | Melodi <62381002+Melodi17@users.noreply.github.com> | 2025-08-29 07:33:48 +1000 |
|---|---|---|
| committer | Melodi <62381002+Melodi17@users.noreply.github.com> | 2025-08-29 07:33:48 +1000 |
| commit | 40473797a117e6791e94140b0f01d034bce8bbb1 (patch) | |
| tree | 553b84b0c2491343523bc7ebf91dda54080991aa /Compiler/Preprocessor.cs | |
| parent | 5d012f16b2a0200087afe9dffc906046d258b3b8 (diff) | |
some cleanup
Diffstat (limited to 'Compiler/Preprocessor.cs')
| -rw-r--r-- | Compiler/Preprocessor.cs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/Compiler/Preprocessor.cs b/Compiler/Preprocessor.cs index fba28c1..f11ae3a 100644 --- a/Compiler/Preprocessor.cs +++ b/Compiler/Preprocessor.cs @@ -26,7 +26,6 @@ public static class Preprocessor if (line.StartsWith("#include")) { - // simple format: #include "file" Match match = Regex.Match(line, "#include\\s+\"([^\"]+)\""); if (match.Success) { @@ -37,7 +36,6 @@ public static class Preprocessor } else if (line.StartsWith("#define")) { - // simple format: #define NAME VALUE Match match = Regex.Match(line, "#define\\s+(\\w+)\\s+(.*)"); if (match.Success) Defines[match.Groups[1].Value] = match.Groups[2].Value; |
