Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 595c1da8 authored by Yu Shan's avatar Yu Shan
Browse files

Add more access annotations.

For some READ_WRITE property, READ is also allowed. Add the annotations
to reflect that.

Test: None
Bug: 288331747
Change-Id: I46d86606087e747e217269db028ddf03c9bdc0b6
parent e11e9cb3
Loading
Loading
Loading
Loading
+112 −0

File changed.

Preview size limit exceeded, changes collapsed.

+2 −1
Original line number Diff line number Diff line
@@ -189,11 +189,12 @@ class Converter:
                    continue
                if RE_COMMENT_BEGIN.match(line):
                    in_comment = True
                    annotation = None
                if RE_COMMENT_END.match(line):
                    in_comment = False
                if in_comment:
                    match = self.annotation_re.match(line)
                    if match:
                    if match and not annotation:
                        annotation = match.group(1)
                else:
                    match = RE_VALUE.match(line)