Skip to content

Commit

Permalink
stub
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Chu committed Nov 19, 2017
1 parent 3edfc00 commit c65a386
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions native/lex.c
Expand Up @@ -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
Expand Down

0 comments on commit c65a386

Please sign in to comment.