Ignore '!' in shebang comment
This commit is contained in:
parent
637638d889
commit
ab4be05bf4
@ -18,7 +18,7 @@ class Tokenizer
|
|||||||
|
|
||||||
public Token[] Tokenize(string content)
|
public Token[] Tokenize(string content)
|
||||||
{
|
{
|
||||||
if(content.StartsWith("#!"))
|
if(content.StartsWith('#'))
|
||||||
{
|
{
|
||||||
content = content[content.IndexOf('\n')..];
|
content = content[content.IndexOf('\n')..];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user