diff options
Diffstat (limited to 'src/tools/vppapigen/gram.y')
-rw-r--r-- | src/tools/vppapigen/gram.y | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/vppapigen/gram.y b/src/tools/vppapigen/gram.y index 9cea602391a..52bb65c524a 100644 --- a/src/tools/vppapigen/gram.y +++ b/src/tools/vppapigen/gram.y @@ -53,9 +53,9 @@ stmt: flist defn {$$ = set_flags($1, $2);} | defn {$$ = $1;} ; -flist: flist flag {$$ = (YYSTYPE)(unsigned long long) - ((unsigned long long) $1 - | (unsigned long long) $2);} +flist: flist flag {$$ = (YYSTYPE)(unsigned long) + ((unsigned long) $1 + | (unsigned long) $2);} | flag {$$ = $1;} ; |