@@ -41,28 +41,31 @@ class CsvLexer(RegexLexer):
41
41
(r'^[^,\n]*' , Operator , 'second' ),
42
42
],
43
43
'second' : [
44
- (r'(,)([^,\n]*)' , bygroups (Punctuation , Literal . Number ), 'third' ),
44
+ (r'(,)([^,\n]*)' , bygroups (Punctuation , Name . Constant ), 'third' ),
45
45
],
46
46
'third' : [
47
- (r'(,)([^,\n]*)' , bygroups (Punctuation , Keyword ), 'fourth' ),
47
+ (r'(,)([^,\n]*)' , bygroups (Punctuation , Keyword . Declaration ), 'fourth' ),
48
48
],
49
49
'fourth' : [
50
- (r'(,)([^,\n]*)' , bygroups (Punctuation , Name . Constant ), 'fifth' ),
50
+ (r'(,)([^,\n]*)' , bygroups (Punctuation , Literal . Number ), 'fifth' ),
51
51
],
52
52
'fifth' : [
53
53
(r'(,)([^,\n]*)' , bygroups (Punctuation , Literal .String .Single ), 'sixth' ),
54
54
],
55
55
'sixth' : [
56
- (r'(,)([^,\n]*)' , bygroups (Punctuation , Literal . Number ), 'seventh' ),
56
+ (r'(,)([^,\n]*)' , bygroups (Punctuation , Name . Constant ), 'seventh' ),
57
57
],
58
58
'seventh' : [
59
- (r'(,)([^,\n]*)' , bygroups (Punctuation , Keyword ), 'eighth' ),
59
+ (r'(,)([^,\n]*)' , bygroups (Punctuation , Keyword . Namespace ), 'eighth' ),
60
60
],
61
61
'eighth' : [
62
- (r'(,)([^,\n]*)' , bygroups (Punctuation , Name . Constant ), 'ninth' ),
62
+ (r'(,)([^,\n]*)' , bygroups (Punctuation , Literal . Number ), 'ninth' ),
63
63
],
64
64
'ninth' : [
65
- (r'(,)([^,\n]*)' , bygroups (Punctuation , Literal .String .Single ), 'unsupported' ),
65
+ (r'(,)([^,\n]*)' , bygroups (Punctuation , Literal .String .Single ), 'tenth' ),
66
+ ],
67
+ 'tenth' : [
68
+ (r'(,)([^,\n]*)' , bygroups (Punctuation , Keyword .Type ), 'unsupported' ),
66
69
],
67
70
'unsupported' : [
68
71
(r'(.+)' , bygroups (Punctuation )),
0 commit comments