parser/c_compiler/test/error.c
author Markus Bröker <mbroeker@largo.dyndns.tv>
Thu, 16 Apr 2009 12:49:12 +0200
changeset 47 63adb261de90
parent 40 be3f5582b839
child 77 49e0babccb23
permissions -rw-r--r--
tree is a list :P * anyway, some changes here -> a struct T consumes sizeof(struct T) of memory -> actual wasn't really needed here. thrown away. committer: Markus Bröker <mbroeker@largo.homelinux.org>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37
0fbbe329c3a2 demos/parser
Markus Bröker <mbroeker@largo.localnet>
parents:
diff changeset
     1
#include <stdio.h>
0fbbe329c3a2 demos/parser
Markus Bröker <mbroeker@largo.localnet>
parents:
diff changeset
     2
#include <stdlib.h>
0fbbe329c3a2 demos/parser
Markus Bröker <mbroeker@largo.localnet>
parents:
diff changeset
     3
39
46d7ec9d63bd Project Parser
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 37
diff changeset
     4
int main (int argc, char **argv)
37
0fbbe329c3a2 demos/parser
Markus Bröker <mbroeker@largo.localnet>
parents:
diff changeset
     5
{
39
46d7ec9d63bd Project Parser
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 37
diff changeset
     6
    FILE *fp;
37
0fbbe329c3a2 demos/parser
Markus Bröker <mbroeker@largo.localnet>
parents:
diff changeset
     7
40
be3f5582b839 db_bridge:
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 39
diff changeset
     8
    /*
be3f5582b839 db_bridge:
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 39
diff changeset
     9
     * ERROR SEMICOLON IS MISSING
be3f5582b839 db_bridge:
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 39
diff changeset
    10
     */
39
46d7ec9d63bd Project Parser
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 37
diff changeset
    11
    printf ("Hello, world\n")
37
0fbbe329c3a2 demos/parser
Markus Bröker <mbroeker@largo.localnet>
parents:
diff changeset
    12
40
be3f5582b839 db_bridge:
Markus Bröker <mbroeker@largo.dyndns.tv>
parents: 39
diff changeset
    13
        return EXIT_SUCCESS;
37
0fbbe329c3a2 demos/parser
Markus Bröker <mbroeker@largo.localnet>
parents:
diff changeset
    14
}