@@ -203,7 +203,7 @@ header_to_external_package(
203203 */
204204
205205svnentries(
206- int id : @svnentry,
206+ unique int id : @svnentry,
207207 string revision : string ref,
208208 string author : string ref,
209209 date revisionDate : date ref,
@@ -217,7 +217,7 @@ svnaffectedfiles(
217217)
218218
219219svnentrymsg(
220- int id : @svnentry ref,
220+ unique int id : @svnentry ref,
221221 string message : string ref
222222)
223223
@@ -404,7 +404,7 @@ functions(
404404 int kind: int ref
405405);
406406
407- function_entry_point(int id: @function ref, int entry_point: @stmt ref);
407+ function_entry_point(int id: @function ref, unique int entry_point: @stmt ref);
408408
409409function_return_type(int id: @function ref, int return_type: @type ref);
410410
@@ -430,6 +430,7 @@ fun_decl_specifiers(
430430 int id: @fun_decl ref,
431431 string name: string ref
432432)
433+ #keyset[fun_decl, index]
433434fun_decl_throws(
434435 int fun_decl: @fun_decl ref,
435436 int index: int ref,
@@ -503,6 +504,8 @@ static_asserts(
503504);
504505
505506// each function has an ordered list of parameters
507+ #keyset[id, type_id]
508+ #keyset[function, index, type_id]
506509params(
507510 int id: @parameter,
508511 int function: @functionorblock ref,
@@ -1641,34 +1644,35 @@ do_body(
16411644 int body_id: @stmt ref
16421645);
16431646
1647+ #keyset[switch_stmt, index]
16441648switch_case(
16451649 int switch_stmt: @stmt_switch ref,
16461650 int index: int ref,
16471651 int case_id: @stmt_switch_case ref
16481652);
16491653
16501654switch_body(
1651- int switch_stmt: @stmt_switch ref,
1655+ unique int switch_stmt: @stmt_switch ref,
16521656 int body_id: @stmt ref
16531657);
16541658
16551659for_initialization(
1656- int for_stmt: @stmt_for ref,
1660+ unique int for_stmt: @stmt_for ref,
16571661 int init_id: @stmt ref
16581662);
16591663
16601664for_condition(
1661- int for_stmt: @stmt_for ref,
1665+ unique int for_stmt: @stmt_for ref,
16621666 int condition_id: @expr ref
16631667);
16641668
16651669for_update(
1666- int for_stmt: @stmt_for ref,
1670+ unique int for_stmt: @stmt_for ref,
16671671 int update_id: @expr ref
16681672);
16691673
16701674for_body(
1671- int for_stmt: @stmt_for ref,
1675+ unique int for_stmt: @stmt_for ref,
16721676 int body_id: @stmt ref
16731677);
16741678
@@ -1712,7 +1716,7 @@ stmt_decl_entry_bind(
17121716@functionorblock = @function | @stmt_block;
17131717
17141718blockscope(
1715- int block: @stmt_block ref,
1719+ unique int block: @stmt_block ref,
17161720 int enclosing: @functionorblock ref
17171721);
17181722
0 commit comments