view test.td @ 140:927ae00bd9d2

Added support for extern keyword. Being ignored atm though. Also changed ast/Module, so that you can get a list of only vars, functions or structs.
author Anders Johnsen <skabet@gmail.com>
date Sun, 20 Jul 2008 23:23:56 +0200
parents da551f90e03f
children
line wrap: on
line source




int main()
{
    int y = 4;

    karina k;


    while (y > 0)
        y = y - 1;

    return x;
}

int x = 4;


struct karina
{
    anders a;
    int age;
    int width;
    int height;
    int lovers;
}
struct anders
{
    int hej;
}