Ignore:
Timestamp:
12/06/2023 09:29:45 AM (10 months ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
xry111/arm64
Children:
2576866
Parents:
73d91ac (diff), 7cce808 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge remote-tracking branch 'origin/trunk' into xry111/arm64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter10/kernel/kernel-config.py

    r73d91ac r00de269  
    186186            elif line.startswith('endif'):
    187187                if_stack = if_stack[:-1]
     188
     189    if config_buf:
     190        r += [parse_config(config_buf)]
     191
    188192    return r
    189193
     
    248252for i0, val, i1, title, arrow, key, menu, comment in r:
    249253    rem = max_line
     254    is_choice = (val == '(X)')
    250255
    251256    if val:
     
    260265        title = title[:rem - 3] + '...'
    261266
    262     b = title.lstrip('YyMmNnHh')
     267    b = title
     268    if not is_choice:
     269        b = b.lstrip('YyMmNnHh.' + "".join(map(str, range(10))))
    263270    a = title[:len(title) - len(b)]
    264271    b0 = "<emphasis role='blue'>" + escape(b[0]) + "</emphasis>"
Note: See TracChangeset for help on using the changeset viewer.