src/Pure/Syntax/parser.ML
changeset 6844 3909657a7da6
parent 6165 a7d74bf9da52
child 6962 399643633529
equal deleted inserted replaced
6843:eeeddde75f3f 6844:3909657a7da6
   690           movedot_lambda (B, j, tss, Nonterminal (A, k) :: sa, id, i) ts
   690           movedot_lambda (B, j, tss, Nonterminal (A, k) :: sa, id, i) ts
   691       else movedot_lambda (B, j, tss, Nonterminal (A, k) :: sa, id, i) ts;
   691       else movedot_lambda (B, j, tss, Nonterminal (A, k) :: sa, id, i) ts;
   692 
   692 
   693 
   693 
   694 val warned = ref false;                            (*flag for warning message*)
   694 val warned = ref false;                            (*flag for warning message*)
   695 val branching_level = ref 250;                   (*trigger value for warnings*)
   695 val branching_level = ref 400;                   (*trigger value for warnings*)
   696 
   696 
   697 (*get all productions of a NT and NTs chained to it which can
   697 (*get all productions of a NT and NTs chained to it which can
   698   be started by specified token*)
   698   be started by specified token*)
   699 fun prods_for prods chains include_none tk nts =
   699 fun prods_for prods chains include_none tk nts =
   700 let (*similar to token_assoc but does not automatically include 'None' key*)
   700 let (*similar to token_assoc but does not automatically include 'None' key*)