You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
raiseException('Error on line %s, col %s while lexing doublequoted field: Unexpected character: %s '% (t.lexer.lineno, t.lexpos-t.latest_newline, t.value[0]))
97
98
99
+
100
+
# Back-quoted "magic" operators
101
+
t_backquote_ignore=''
102
+
deft_BACKQUOTE(self, t):
103
+
r'`'
104
+
t.lexer.string_start=t.lexer.lexpos
105
+
t.lexer.push_state('backquote')
106
+
107
+
deft_backquote_BACKQUOTE(self, t):
108
+
r'([^`]|\\`)*`'
109
+
t.value=t.value[:-1]
110
+
t.type='NAMED_OPERATOR'
111
+
t.lexer.pop_state()
112
+
returnt
113
+
114
+
deft_backquote_error(self, t):
115
+
raiseException('Error on line %s, col %s while lexing backquoted operator: Unexpected character: %s '% (t.lexer.lineno, t.lexpos-t.latest_newline, t.value[0]))
0 commit comments