yaojingguo 发表于 2013-1-26 12:31:26

How To Read C Declarations (memo)

Start at the variable name (or innermost construct if no identifier
is present. Look right without jumping over a right parenthesis; say
what you see. Look left again without jumping over a parenthesis; say
what you see. Jump out a level of parentheses if any. Look right;
say what you see. Look left; say what you see. Continue in this
manner until you say the variable type or return type.



Refer to http://www.antlr.org/wiki/display/CS652/How+To+Read+C+Declarations
页: [1]
查看完整版本: How To Read C Declarations (memo)