aboutsummaryrefslogtreecommitdiffhomepage
path: root/ide
diff options
context:
space:
mode:
authorGravatar Théo Zimmermann <theo.zimmermann@univ-paris-diderot.fr>2018-01-05 12:57:56 +0100
committerGravatar Théo Zimmermann <theo.zimmermann@univ-paris-diderot.fr>2018-01-05 15:34:23 +0100
commit3a447d83226c4591e796e44933dad8278d97d683 (patch)
tree7c6f452b7bc4900d22767d005b0b3d29f07c83fd /ide
parent2d6e395dead61a49ede6208bc40e16b4b8e68ce4 (diff)
Brackets support single numbered goal selectors.
This allows to focus on a sub-goal other than the first one without resorting to the `Focus` command.
Diffstat (limited to 'ide')
-rw-r--r--ide/coq_lex.mll4
1 files changed, 3 insertions, 1 deletions
diff --git a/ide/coq_lex.mll b/ide/coq_lex.mll
index 8bfd937e3..a7e9003db 100644
--- a/ide/coq_lex.mll
+++ b/ide/coq_lex.mll
@@ -17,7 +17,9 @@
let space = [' ' '\n' '\r' '\t' '\012'] (* '\012' is form-feed *)
-let undotted_sep = '{' | '}' | '-'+ | '+'+ | '*'+
+let number = [ '0'-'9' ]+
+
+let undotted_sep = (number space* ':' space*)? '{' | '}' | '-'+ | '+'+ | '*'+
let dot_sep = '.' (space | eof)