Generate parse error on label without name '@'
This commit is contained in:
@@ -68,13 +68,6 @@ public final class Name implements Comparable<Name> {
|
||||
return new Name(name, false);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static Name identifierForLabel(@NotNull String name) {
|
||||
// might be empty ('@' label)
|
||||
if (name.isEmpty()) return identifierNoValidate(name);
|
||||
return identifier(name);
|
||||
}
|
||||
|
||||
@NotNull
|
||||
public static Name special(@NotNull String name) {
|
||||
if (!name.startsWith("<")) {
|
||||
|
||||
Reference in New Issue
Block a user