@@ -207,11 +207,18 @@ int main(int argc, char **argv) {
207
207
// "(inrole(p1,student) && inrole(p2,instructor) && subject(student) && attr(msg,grades)) ||"
208
208
// "(inrole(p1,student) && inrole(p2,student) && attr(msg,instructor))";
209
209
210
- const char *expr =
211
- " (inrole(p1,generation0) && inrole(p2,elder) && subject(p1) && attr(msg, geneticDisease)) ||"
212
- " (inrole(p1,generation0) && inrole(p2,generation0) && attr(msg, finances)) ||"
213
- " (inrole(p1,generation1) && inrole(p2,generation1) && attr(msg, lowAcademicPerf)) ||"
214
- " (inrole(p1,generation1) && inrole(p2,generation1) && attr(msg, parties))" ;
210
+ // const char *expr =
211
+ // "(inrole(p1,generation0) && inrole(p2,elder) && subject(p1) && attr(msg, geneticDisease)) ||"
212
+ // "(inrole(p1,generation0) && inrole(p2,generation0) && attr(msg, finances)) ||"
213
+ // "(inrole(p1,generation1) && inrole(p2,generation1) && attr(msg, lowAcademicPerf)) ||"
214
+ // "(inrole(p1,generation1) && inrole(p2,generation1) && attr(msg, parties))";
215
+
216
+
217
+ // const char *expr = "inrole(p2, friend) || inrole(p2, fof)";
218
+
219
+ const char *expr = " (inrole(p1, circleCreator) && inrole(p2, circleMember)) || "
220
+ " (inrole(p1, circleMember) && attr(msg, limited))" ;
221
+
215
222
yyscan_t scanner;
216
223
YY_BUFFER_STATE state;
217
224
0 commit comments