Keyword "min" (not only "max") can be used in built-in types "range" and "length" statements.
This commit is contained in:
parent
bd67a2a5f2
commit
c7e847cd24
14 changed files with 469 additions and 405 deletions
|
|
@ -176,8 +176,7 @@ typedef struct yang_stmt yang_stmt; /* forward */
|
|||
*/
|
||||
struct yang_type_cache{
|
||||
int yc_options;
|
||||
cg_var *yc_mincv;
|
||||
cg_var *yc_maxcv;
|
||||
cvec *yc_cvv; /* range and length restriction */
|
||||
char *yc_pattern;
|
||||
uint8_t yc_fraction;
|
||||
yang_stmt *yc_resolved; /* Resolved type object, can be NULL - note direct ptr */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue