This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/snippets/gas/test_comments.txt
Sebastian Engel 907df2c247
Whitespace token modernization - a* lexers - regarding #1905 (#1914)
* Whitespace token modernization - ambient lexer

* Whitespace token modernization - ampl lexer

* Whitespace token modernization - apdlexer lexer

* Whitespace token modernization - apl lexer

* Whitespace token modernization - adl lexer

* Whitespace token modernization - arrow lexer

* Whitespace token modernization - asm lexer
2021-10-23 13:07:34 +02:00

29 lines
785 B
Text

---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