0
0

📝 clarify quote escaping in strings

This commit is contained in:
DrMaxNix 2022-09-01 18:53:14 +02:00
parent fd41b106b8
commit 95c8b92af2

View File

@ -15,6 +15,10 @@ mov /* Inline block comment */ $1 42
## ESCAPE SEQUENCES AND INTEGER PREFIXES ## ## ESCAPE SEQUENCES AND INTEGER PREFIXES ##
# quote escaping
"Here comes a quote: \"Lorem ipsum\". This had to be escaped!"
"Here comes another quote: 'Lorem ipsum'. This didn't require escaping!"
# in strings (only those in double quotes) # in strings (only those in double quotes)
"\n" # newline "\n" # newline
"\t" # tab "\t" # tab