(rawtoken)
| 85 | |
| 86 | |
| 87 | def rawlink(rawtoken): |
| 88 | if rawtoken.str == '}': |
| 89 | indent = 0 |
| 90 | while rawtoken: |
| 91 | if rawtoken.str == '}': |
| 92 | indent = indent + 1 |
| 93 | elif rawtoken.str == '{': |
| 94 | indent = indent - 1 |
| 95 | if indent == 0: |
| 96 | break |
| 97 | rawtoken = rawtoken.previous |
| 98 | else: |
| 99 | rawtoken = None |
| 100 | return rawtoken |
| 101 | |
| 102 | |
| 103 | # Identifiers described in Section 7 "Library" of C90 Standard |