tests/snippets/carbon/unterminated_comment.txt
raw| 1 | ---input--- |
| 2 | /* |
| 3 | This |
| 4 | is |
| 5 | a |
| 6 | long |
| 7 | unterminated |
| 8 | comment |
| 9 | with |
| 10 | many |
| 11 | newlines. |
| 12 | |
| 13 | It |
| 14 | should |
| 15 | take |
| 16 | a |
| 17 | reasonable |
| 18 | time |
| 19 | to |
| 20 | lex. |
| 21 | |
| 22 | ---tokens--- |
| 23 | '/' Operator |
| 24 | '*' Operator |
| 25 | '\n' Text.Whitespace |
| 26 | |
| 27 | 'This' Name.Other |
| 28 | '\n' Text.Whitespace |
| 29 | |
| 30 | 'is' Keyword |
| 31 | '\n' Text.Whitespace |
| 32 | |
| 33 | 'a' Name.Other |
| 34 | '\n' Text.Whitespace |
| 35 | |
| 36 | 'long' Name.Other |
| 37 | '\n' Text.Whitespace |
| 38 | |
| 39 | 'unterminated' Name.Other |
| 40 | '\n' Text.Whitespace |
| 41 | |
| 42 | 'comment' Name.Other |
| 43 | '\n' Text.Whitespace |
| 44 | |
| 45 | 'with' Name.Other |
| 46 | '\n' Text.Whitespace |
| 47 | |
| 48 | 'many' Name.Other |
| 49 | '\n' Text.Whitespace |
| 50 | |
| 51 | 'newlines' Name.Other |
| 52 | '.' Punctuation |
| 53 | '\n' Text.Whitespace |
| 54 | |
| 55 | '\n' Text.Whitespace |
| 56 | |
| 57 | 'It' Name.Other |
| 58 | '\n' Text.Whitespace |
| 59 | |
| 60 | 'should' Name.Other |
| 61 | '\n' Text.Whitespace |
| 62 | |
| 63 | 'take' Name.Other |
| 64 | '\n' Text.Whitespace |
| 65 | |
| 66 | 'a' Name.Other |
| 67 | '\n' Text.Whitespace |
| 68 | |
| 69 | 'reasonable' Name.Other |
| 70 | '\n' Text.Whitespace |
| 71 | |
| 72 | 'time' Name.Other |
| 73 | '\n' Text.Whitespace |
| 74 | |
| 75 | 'to' Name.Other |
| 76 | '\n' Text.Whitespace |
| 77 | |
| 78 | 'lex' Name.Other |
| 79 | '.' Punctuation |
| 80 | '\n' Text.Whitespace |