tartrazine/tests/gas/test_comments.txt

30 lines
785 B
Plaintext
Raw Normal View History

2024-08-03 10:36:47 +00:00
---input---
lock addq $0, /* comments */ (%rsp) /*
// comments
*/ xorq %rax, %rax // comments
---tokens---
'lock' Name.Attribute
' ' Text.Whitespace
'addq' Name.Function
' ' Text.Whitespace
'$0' Name.Constant
',' Punctuation
' ' Text.Whitespace
'/* comments */' Comment.Multiline
' ' Text.Whitespace
'(' Punctuation
'%rsp' Name.Variable
')' Punctuation
' ' Text.Whitespace
'/*\n// comments\n*/' Comment.Multiline
' ' Text.Whitespace
'xorq' Name.Function
' ' Text.Whitespace
'%rax' Name.Variable
',' Punctuation
' ' Text.Whitespace
'%rax' Name.Variable
' ' Text.Whitespace
'// comments\n' Comment.Single