JohnLato/language-objc — pull request #1 by iand675 (2012-09-25 04:00:29+00:00)
Title: Fix parsing bug for optional and required sections in protocol declaration.

For an example:

parseItAll = parseCFile theGCC Nothing ["-I/System/Library/Frameworks/Cocoa.framework/Headers"] "/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h"
where
theGCC = newGCC "/usr/bin/gcc"

Will fail with the following error on 10.8 prior to this fix:

Left /System/Library/Frameworks/AppKit.framework/Headers/NSPageController.h:98: (column 1) [ERROR] >>> Syntax Error !
Syntax error !
The symbol `@optional' does not fit here.