This commit is contained in:
Starbeamrainbowlabs 2016-05-08 11:39:56 +01:00
parent ecbc2f217f
commit 6c1cbbbc0d

View file

@ -50,6 +50,7 @@ namespace cscz
nextLine = lines.ReadLine();
if(nextLine == null) break;
if(nextLine.Length == 0) continue;
// It's a using statement
if(nextLine.StartsWith("u "))
@ -57,6 +58,11 @@ namespace cscz
string[] parts = Regex.Split(nextLine.Trim(), @"\s+");
UsingStatements.Add(parts[1]);
}
else if(nextLine.StartsWith("#"))
{
// It's the class name
ClassName = UppercaseFirstLetter(nextLine.TrimStart(new char[] { '#' })).Trim();
}
else
{
Signatures.Add(nextLine.Trim());