Untitled

mail@pastecode.io avatar
unknown
plain_text
24 days ago
343 B
2
Indexable
Never
ARG
    : STR_LIT { coutStackString($1); printf("STR_LIT \"%s\"\n", $1); Object obj; obj.type = OBJECT_TYPE_STR; $$ = obj; }
    | boolean { $$ = $1; Object obj; obj.type = $1.type; $$ = obj; }
    | num { $$ = $1; $$.type = $1.type; }
    | id {$$ = $1; Object obj; obj.type = $1.type; $$ = obj; }
    | CHAR_LIT { coutStackChar($1); }
    ;
Leave a Comment