change the way to read a token beginning with a colon.
added more primitive functions to the core module
This commit is contained in:
10
lib/cnode.c
10
lib/cnode.c
@ -96,16 +96,6 @@ hak_cnode_t* hak_makecnodecolon (hak_t* hak, int flags, const hak_loc_t* loc, co
|
||||
return hak_makecnode(hak, HAK_CNODE_COLON, flags, loc, tok);
|
||||
}
|
||||
|
||||
hak_cnode_t* hak_makecnodecolongt (hak_t* hak, int flags, const hak_loc_t* loc, const hak_oocs_t* tok)
|
||||
{
|
||||
return hak_makecnode(hak, HAK_CNODE_COLONGT, flags, loc, tok);
|
||||
}
|
||||
|
||||
hak_cnode_t* hak_makecnodecolonlt (hak_t* hak, int flags, const hak_loc_t* loc, const hak_oocs_t* tok)
|
||||
{
|
||||
return hak_makecnode(hak, HAK_CNODE_COLONLT, flags, loc, tok);
|
||||
}
|
||||
|
||||
hak_cnode_t* hak_makecnodecharlit (hak_t* hak, int flags, const hak_loc_t* loc, const hak_oocs_t* tok, hak_ooch_t v)
|
||||
{
|
||||
hak_cnode_t* c = hak_makecnode(hak, HAK_CNODE_CHARLIT, flags, loc, tok);
|
||||
|
Reference in New Issue
Block a user