[Webkit-unassigned] [Bug 161165] New: check-webkit-style doesn't understand macros containing `else` or labels

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 24 14:09:33 PDT 2016


https://bugs.webkit.org/show_bug.cgi?id=161165

            Bug ID: 161165
           Summary: check-webkit-style doesn't understand macros
                    containing `else` or labels
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jfbastien at apple.com
                CC: lforschler at apple.com

In the following patch: https://bugs.webkit.org/show_bug.cgi?id=160921

check-webkit-style is unhappy with this idiom:

#FOO() \
  if (a) \
    stmt; \
  else \
    stmt

As well as with labels:

#FOO() { \
  label: \
    stmt; \
  }

In both cases, check-webkit-style's regular expressions don't expect a backslash there, making it sad.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160824/6c1e625e/attachment.html>


More information about the webkit-unassigned mailing list