MCPcopy Create free account
hub / github.com/boostorg/build / compile_emit_rule

Function compile_emit_rule

src/engine/function.c:1473–1484  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1471}
1472
1473static int compile_emit_rule( compiler * c, OBJECT * name, PARSE * parse,
1474 int num_arguments, struct arg_list * arguments, int local )
1475{
1476 struct stored_rule rule;
1477 rule.name = object_copy( name );
1478 rule.parse = parse;
1479 rule.num_arguments = num_arguments;
1480 rule.arguments = arguments;
1481 rule.local = local;
1482 dynamic_array_push( c->rules, rule );
1483 return (int)( c->rules->size - 1 );
1484}
1485
1486static int compile_emit_actions( compiler * c, PARSE * parse )
1487{

Callers 1

compile_parseFunction · 0.85

Calls 1

object_copyFunction · 0.85

Tested by

no test coverage detected