aboutsummaryrefslogtreecommitdiff
path: root/scripts/glibcpp.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/glibcpp.py')
-rw-r--r--scripts/glibcpp.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/glibcpp.py b/scripts/glibcpp.py
index 455459a609..2f39979894 100644
--- a/scripts/glibcpp.py
+++ b/scripts/glibcpp.py
@@ -346,6 +346,7 @@ RE_SPLIT_INTEGER_SUFFIX = re.compile(r'([^ullULL]+)([ullULL]*)')
BINARY_OPERATORS = {
'+': operator.add,
'<<': operator.lshift,
+ '|': operator.or_,
}
# Use the general-purpose dict type if it is order-preserving.