-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Detect when in a string literal (#47)
* [tests] Add failing test case for quoting issue #46 * [asmfmt.go] Detect when in a string literal Fixes #46
- Loading branch information
1 parent
b745a68
commit ef134b9
Showing
3 changed files
with
45 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
db "," | ||
db ";" | ||
db "http://example.com" | ||
db "2 strings", "http://example.com" | ||
db "3 strings", "2//slash groups", "http://example.com" | ||
db ',' | ||
db ';' |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
db "," | ||
db ";" | ||
db "http://example.com" | ||
db "2 strings", "http://example.com" | ||
db "3 strings", "2//slash groups", "http://example.com" | ||
db ',' | ||
db ';' |