Meta generated data working

This commit is contained in:
Krzosa Karol
2022-09-29 19:17:53 +02:00
parent 3601e83032
commit e46d936c38
6 changed files with 108 additions and 98 deletions

View File

@@ -41,8 +41,8 @@ for i in meta.token_simple_expr:
first = "op_" + meta.pascal_to_snake(meta.token_simple_expr[0][0])
last = "op_" + meta.pascal_to_snake(meta.token_simple_expr[-1][0])
print(f"l->first_op = {first}")
print(f"l->last_op = {last}")
print(f"l->first_op = {first};")
print(f"l->last_op = {last};")
*/
op_mul = l->intern("*"_s);
op_div = l->intern("/"_s);
@@ -68,8 +68,8 @@ op_decrement = l->intern("--"_s);
op_increment = l->intern("++"_s);
op_post_decrement = l->intern("--"_s);
op_post_increment = l->intern("++"_s);
l->first_op = op_mul
l->last_op = op_post_increment
l->first_op = op_mul;
l->last_op = op_post_increment;
/*END*/
}