ref: 3e3d8d6fa48c37fc6b45fdabaaac2a5b7ffac7b2
dir: /stmt.c/
#include <stddef.h> #include <stdint.h> #include "cc.h" void compound(void) { extern void decl(void); expect('{'); while (!accept('}')) { switch (yytoken) { case TYPE: case SCLASS: case TQUALIFIER: decl(); break; default: expr(); /* TODO: Evaluate the expression here */ } expect(';'); } }