Permalink
Browse files

stub

  • Loading branch information...
Andy Chu
Andy Chu committed Nov 19, 2017
1 parent 3edfc00 commit c65a386a09265e7578c589db192cc01fa668fcf6
Showing with 9 additions and 0 deletions.
  1. +9 −0 native/lex.c
View
@@ -286,7 +286,16 @@ func_regex_match(PyObject *self, PyObject *args) {
}
}
static PyObject *
func_FindLongestMatch(PyObject *self, PyObject *args) {
return NULL;
}
// TODO: enlist core/id_kind_gen and osh/lex_gen.py
PyMethodDef methods[] = {
{"FindLongestMatch", func_FindLongestMatch, METH_VARARGS,
"(lexer mode, line, pos) -> (end_index, tok_type, tok_val)."},
{"fnmatch", func_fnmatch, METH_VARARGS,
"Return whether a string matches a pattern."},
// Python's glob doesn't have char classes

0 comments on commit c65a386

Please sign in to comment.