RTEMS Source Builder | sb/simhost: Fix bset parsing in simhost and improve error handling (!95)

Kinsey Moore (@opticron) gitlab at rtems.org
Wed Dec 18 21:06:34 UTC 2024




Kinsey Moore started a new discussion on source-builder/sb/simhost.py: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/95#note_117011

 >  
 >          try:
 >              lc = 0
 > +            ll = ''
 >              for l in bsetf:
 >                  lc += 1
 > -                l = _clean(l)
 > +                l = _clean_and_pack(l, ll)
 >                  if len(l) == 0:
 >                      continue
 > +                if l[-1] == '\\':
 > +                    ll = l[0:-1]

This will not handle multiple line continuations.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-source-builder/-/merge_requests/95#note_117011
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241218/f42d1d48/attachment-0001.htm>


More information about the bugs mailing list