mirror of
https://github.com/Ed94/metadesk.git
synced 2026-07-28 10:20:02 +00:00
[examples] c like expressions example
This commit is contained in:
@@ -111,7 +111,10 @@ int main(int argc, char **argv)
|
||||
}
|
||||
|
||||
// print the expression
|
||||
fprintf(stdout, "%.*s = ", MD_S8VArg(node->string));
|
||||
if (node->string.size != 0)
|
||||
{
|
||||
fprintf(stdout, "%.*s = ", MD_S8VArg(node->string));
|
||||
}
|
||||
print_expression(stdout, parse.expr);
|
||||
fprintf(stdout, ";\n");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user