Fix #1.
This commit is contained in:
parent
ecbc2f217f
commit
6c1cbbbc0d
1 changed files with 6 additions and 0 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue