From 3643bf77484ed64426c19923d3fa51680c23a090 Mon Sep 17 00:00:00 2001 From: jfrijters Date: Thu, 25 Jun 2009 09:21:12 +0000 Subject: [PATCH] Skip empty lines in response file, instead of throwing an exception. --- ikvmc/Compiler.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ikvmc/Compiler.cs b/ikvmc/Compiler.cs index 2b7514d8..5795c70e 100644 --- a/ikvmc/Compiler.cs +++ b/ikvmc/Compiler.cs @@ -65,7 +65,11 @@ class IkvmcCompiler string line; while((line = sr.ReadLine()) != null) { - arglist.Add(line.Trim()); + string arg = line.Trim(); + if (arg != "") + { + arglist.Add(arg); + } } } }