Debian Codegraph @

tests/snippets/matlab/test_comment_after_continuation.txt

raw
1 # Test that text after the line continuation ellipses is marked as a comment.
2
3 ---input---
4 set('T',300,... a comment
5 'P',101325);
6
7 ---tokens---
8 'set' Name.Builtin
9 '(' Punctuation
10 "'" Literal.String
11 "T'" Literal.String
12 ',' Punctuation
13 '300' Literal.Number.Integer
14 ',' Punctuation
15 '...' Keyword
16 ' a comment' Comment
17 '\n' Text.Whitespace
18
19 "'" Literal.String
20 "P'" Literal.String
21 ',' Punctuation
22 '101325' Literal.Number.Integer
23 ')' Punctuation
24 ';' Punctuation
25 '\n' Text.Whitespace