summaryrefslogtreecommitdiff
path: root/Compiler/Preprocessor.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Compiler/Preprocessor.cs')
-rw-r--r--Compiler/Preprocessor.cs2
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;