diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-11 23:09:00 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-11 23:09:00 -0500 |
| commit | ddd9f6e5d542fca3186558e4d6603c4b05967121 (patch) | |
| tree | dc70fdf5b0efecf30058c704ca10d7808c543fdf /ast.c | |
| parent | 7d6af5f4c7663bddf4dad4a58c770dbdd299e022 (diff) | |
Fix operator precedence and boolification
Diffstat (limited to 'ast.c')
| -rw-r--r-- | ast.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -125,7 +125,7 @@ CORD ast_to_cord(ast_t *ast) T(EnumDef, "(%s, tags=%r, namespace=%r)", data.name, tags_to_cord(data.tags), ast_to_cord(data.namespace)) T(Index, "(indexed=%r, index=%r)", ast_to_cord(data.indexed), ast_to_cord(data.index)) T(FieldAccess, "(fielded=%r, field=%s)", ast_to_cord(data.fielded), data.field) - T(DocTest, "(expr=%r, output=%s)", ast_to_cord(data.expr), data.output) + T(DocTest, "(expr=%r, output=%s)", ast_to_cord(data.expr), data.output ? data.output : "") T(Use, "(%s)", data.path) T(LinkerDirective, "(%s)", data.directive) #undef T |
