This commit is contained in:
Starbeamrainbowlabs 2016-05-08 11:39:56 +01:00
parent ecbc2f217f
commit 6c1cbbbc0d
1 changed files with 6 additions and 0 deletions

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());