Untitled

 avatar
unknown
plain_text
9 months ago
343 B
4
Indexable
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); }
    ;
Editor is loading...
Leave a Comment