[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#458360: don't parse comments



Package: x11-xserver-utils
Version: 7.3+2

Your parser is broken.

$ man X
       The precise syntax for resources is:

       ResourceLine      = Comment | IncludeFile | ResourceSpec | <empty line>
       Comment           = "!" {<any character except null or newline>}

"Any character except null or newline".

However:
$ head -n 1 .Xresources
! .Xresources -- Dan Jacobson's personal version
$ xrdb .Xresources
<stdin>:1:30: warning: missing terminating ' character



Reply to: