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

Function yyfparse

v2/engine/scan.c:87–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85
86
87void yyfparse( OBJECT * s )
88{
89 include * i = (include *)BJAM_MALLOC( sizeof( *i ) );
90
91 /* Push this onto the incp chain. */
92 i->string = "";
93 i->strings = 0;
94 i->file = 0;
95 i->fname = object_copy( s );
96 i->line = 0;
97 i->next = incp;
98 incp = i;
99
100 /* If the filename is "+", it means use the internal jambase. */
101 if ( !strcmp( object_str( s ), "+" ) )
102 i->strings = jambase;
103}
104
105
106/*

Callers 1

parse_fileFunction · 0.85

Calls 2

object_copyFunction · 0.85
object_strFunction · 0.85

Tested by

no test coverage detected