comparison trunk/src/dil/Parser.d @ 493:d13502b6fa5f

Added code to the Parser and edited main.wiki.
author Aziz K?ksal <aziz.koeksal@gmail.com>
date Thu, 06 Dec 2007 22:59:38 +0100
parents 9c208925a3d4
children 9a7ca8c56e59
comparison
equal deleted inserted replaced
492:9c208925a3d4 493:d13502b6fa5f
3649 T.Enum, 3649 T.Enum,
3650 T.Function, 3650 T.Function,
3651 T.Delegate, 3651 T.Delegate,
3652 T.Super, 3652 T.Super,
3653 T.Return: 3653 T.Return:
3654 case_Const_Invariant:
3654 specTok = token; 3655 specTok = token;
3655 nT(); 3656 nT();
3656 break; 3657 break;
3658 case T.Const, T.Invariant:
3659 if (peekNext() != T.LParen)
3660 goto case_Const_Invariant;
3661 // Fall through. It's a type.
3657 default: 3662 default:
3658 specType = parseType(); 3663 specType = parseType();
3659 } 3664 }
3660 default: 3665 default:
3661 } 3666 }