Skip to content

Commit

Permalink
Clarify some points in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-j-hu committed Nov 26, 2020
1 parent 5c531df commit 330797d
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/tmLanguage.mli
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ val tokenize_exn : t -> grammar -> stack -> string -> token list * stack
- [tokens] is nonempty.
- The [ending] of the last token in [tokens] is always [String.length line].
Raises {!exception:Error} if it tries to access a local grammar repository
that doesn't exist. Currently, it silently ignores inclusions of other
grammars that don't exist in [t]. *)
Raises {!exception:Error} if it tries to match a malformed [end] or [while]
regex.
Raises {!exception:Error} if it tries to access a local repository that
doesn't exist in the file. Currently, it silently ignores [include]s of
other grammars that don't exist in [t]. *)

0 comments on commit 330797d

Please sign in to comment.