-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop parsing Junk on lines which look like Entries (#211)
- Loading branch information
Showing
20 changed files
with
162 additions
and
53 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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,21 @@ | ||
## Two adjacent Junks. | ||
err01 = {1x} | ||
err02 = {2x} | ||
# A single Junk. | ||
err03 = {1x | ||
2 | ||
# A single Junk. | ||
ą=Invalid identifier | ||
ć=Another one | ||
key01 = { | ||
# The COMMENT ends this junk. | ||
err04 = { | ||
# COMMENT | ||
# The COMMENT ends this junk. | ||
# The closing brace is a separate Junk. | ||
err04 = { | ||
# COMMENT | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,68 @@ | ||
{ | ||
"type": "Resource", | ||
"body": [ | ||
{ | ||
"type": "GroupComment", | ||
"content": "Two adjacent Junks." | ||
}, | ||
{ | ||
"type": "Junk", | ||
"annotations": [], | ||
"content": "err01 = {1x}\n" | ||
}, | ||
{ | ||
"type": "Junk", | ||
"annotations": [], | ||
"content": "err02 = {2x}\n\n" | ||
}, | ||
{ | ||
"type": "Comment", | ||
"content": "A single Junk." | ||
}, | ||
{ | ||
"type": "Junk", | ||
"annotations": [], | ||
"content": "err03 = {1x\n2\n\n" | ||
}, | ||
{ | ||
"type": "Comment", | ||
"content": "A single Junk." | ||
}, | ||
{ | ||
"type": "Junk", | ||
"annotations": [], | ||
"content": "ą=Invalid identifier\nć=Another one\n" | ||
"content": "ą=Invalid identifier\nć=Another one\n\n" | ||
}, | ||
{ | ||
"type": "Comment", | ||
"content": "The COMMENT ends this junk." | ||
}, | ||
{ | ||
"type": "Junk", | ||
"annotations": [], | ||
"content": "err04 = {\n" | ||
}, | ||
{ | ||
"type": "Comment", | ||
"content": "COMMENT" | ||
}, | ||
{ | ||
"type": "Comment", | ||
"content": "The COMMENT ends this junk.\nThe closing brace is a separate Junk." | ||
}, | ||
{ | ||
"type": "Junk", | ||
"annotations": [], | ||
"content": "err04 = {\n" | ||
}, | ||
{ | ||
"type": "Comment", | ||
"content": "COMMENT" | ||
}, | ||
{ | ||
"type": "Junk", | ||
"annotations": [], | ||
"content": "key01 = {\n" | ||
"content": "}\n" | ||
} | ||
] | ||
} |
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
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
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
Oops, something went wrong.