Skip to content

Commit

Permalink
#626 reserved keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
ldhasson committed Jul 17, 2021
1 parent a10026d commit bc95471
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/tilda/parsing/parts/Base.java
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ protected boolean Validate(ParserSession PS, Schema ParentSchema)
PS.AddError("Schema '" + _ParentSchema.getFullName() + "' is declaring " + _TildaType.name() + " '" + getBaseName() + "' with a name '" + _Name + "' which is not valid. " + ValidationHelper._ValidIdentifierMessage);
if (ValidationHelper.isReservedIdentifier(_Name) == true)
PS.AddError("Schema '" + _ParentSchema.getFullName() + "' is declaring " + _TildaType.name() + " '" + getBaseName() + "' with a name '" + _Name + "' which is a reserved identifier.");

if (TextUtil.isNullOrEmpty(_Description) == true)
PS.AddError("Schema '" + _ParentSchema.getFullName() + "' is declaring " + _TildaType.name() + " '" + getBaseName() + "' without a description.");

Expand Down

0 comments on commit bc95471

Please sign in to comment.