-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add check to detect duplicated components of a record when parsing a TRLC file. Example: ``` Something duplicated { description = "This is fine!" description = "This is the duplicate." } ``` The behavior of the `Record_Object` class is changed such that the `assign` method only assigns components to the record if it has not been assigned already. This is implemented by checking if the field type is different from `Implicit_Null`. The `Parser` class asks the `Record_Object` if the component is `Implicit_Null`. If no, then an error is sent to the message handler.
- Loading branch information
Showing
2 changed files
with
13 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters