Parsing

Hi,

I looked a bit into the C reference https://msdn.microsoft.com/en-us/library/e5ace6tf.aspx
What confuses me at the moment is the syntax of declarations:

declarator:

pointer opt direct-declarator
direct-declarator:

identifier
( declarator )
direct-declarator [ constant-expression opt ]
direct-declarator ( parameter-type-list )
direct-declarator ( identifier-list opt )


How can I use this, to parse complicated declarations?

Thank you.
Topic archived. No new replies allowed.