Skip to content

Commit

Permalink
fix: remove mutal exclusion of Z and CS
Browse files Browse the repository at this point in the history
The mutal exclusion of Z and CS as a floating insertion char is handled by the precedence grid
  • Loading branch information
NeoKaios committed Aug 5, 2024
1 parent bdfc669 commit efca4cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lsp/cobol_data/data_picture.ml
Original file line number Diff line number Diff line change
Expand Up @@ -764,12 +764,11 @@ let char_order_checker_for_pic_string config =
(* Maybe not in ISO/IEC 2014: Z/CS *)
let mutual_exclusions =
SymbolsMap.of_seq @@ List.to_seq [
CS, Symbols.singleton Z;
DecimalSep, Symbols.of_list [P; V];
P, Symbols.singleton DecimalSep;
Star, Symbols.singleton Z;
V, Symbols.singleton DecimalSep;
Z, Symbols.of_list [Star; CS];
Z, Symbols.singleton Star;
]

type exp_sequence_state =
Expand Down

0 comments on commit efca4cf

Please sign in to comment.