-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Smalltalk: Allowed empty strings and comments (#1747)
This fixes that empty strings and comments were not recognized in Smalltalk.
- Loading branch information
1 parent
7bcec58
commit 5fd7577
Showing
4 changed files
with
12 additions
and
8 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,14 +1,16 @@ | ||
"foobar" | ||
"foo""bar | ||
baz" | ||
"" | ||
|
||
---------------------------------------------------- | ||
|
||
[ | ||
["comment", "\"foobar\""], | ||
["comment", "\"foo\"\"bar\r\nbaz\""] | ||
["comment", "\"foo\"\"bar\r\nbaz\""], | ||
["comment", "\"\""] | ||
] | ||
|
||
---------------------------------------------------- | ||
|
||
Checks for comments. | ||
Checks for comments. |
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,14 +1,16 @@ | ||
'foobar' | ||
'foo''bar | ||
baz' | ||
'' | ||
|
||
---------------------------------------------------- | ||
|
||
[ | ||
["string", "'foobar'"], | ||
["string", "'foo''bar\r\nbaz'"] | ||
["string", "'foo''bar\r\nbaz'"], | ||
["string", "''"] | ||
] | ||
|
||
---------------------------------------------------- | ||
|
||
Checks for strings. | ||
Checks for strings. |