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

Function compile_emit_rule

v2/engine/function.c:1422–1433  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1420}
1421
1422static int compile_emit_rule( compiler * c, OBJECT * name, PARSE * parse,
1423 int num_arguments, struct arg_list * arguments, int local )
1424{
1425 struct stored_rule rule;
1426 rule.name = object_copy( name );
1427 rule.parse = parse;
1428 rule.num_arguments = num_arguments;
1429 rule.arguments = arguments;
1430 rule.local = local;
1431 dynamic_array_push( c->rules, rule );
1432 return (int)( c->rules->size - 1 );
1433}
1434
1435static int compile_emit_actions( compiler * c, PARSE * parse )
1436{

Callers 1

compile_parseFunction · 0.85

Calls 1

object_copyFunction · 0.85

Tested by

no test coverage detected