[cfe-commits] Comment Callback - first try - for review

Sebastian Redl sebastian.redl at getdesigned.at
Sun Oct 26 12:40:23 PDT 2008


Hi,

Just one comment:

> -  /// When this is set to 2 it returns comments and whitespace.  When set to 1
> -  /// it returns comments, when it is set to 0 it returns normal tokens only.
> +  /// When this is set to 3 it returns comments and whitespace. When set to 2
> +  /// it returns comments. When set to 1 it call the PP callback on comment but
> +  /// only return normal tokens. When it is set to 0 it returns normal tokens
> +  /// only.
>    unsigned char ExtendedTokenMode;
>   

How about an enum for that?

Sebastian



More information about the cfe-commits mailing list