You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
569 B
29 lines
569 B
/**
|
|
* @file flag_parens.h
|
|
*
|
|
* @author Guy Maurel
|
|
* @license GPL v2+
|
|
*/
|
|
|
|
#ifndef FLAG_PARENS_H_INCLUDED
|
|
#define FLAG_PARENS_H_INCLUDED
|
|
|
|
#include "chunk.h"
|
|
|
|
|
|
/**
|
|
* Flags everything from the open paren to the close paren.
|
|
*
|
|
* @param po Pointer to the open parenthesis
|
|
* @param flags flags to add
|
|
* @param opentype
|
|
* @param parenttype
|
|
* @param parent_all
|
|
*
|
|
* @return The token after the close paren
|
|
*/
|
|
Chunk *flag_parens(Chunk *po, PcfFlags flags, E_Token opentype, E_Token parenttype, bool parent_all);
|
|
|
|
|
|
#endif /* FLAG_PARENS_H_INCLUDED */
|