From b90622b7edb13048d7f0427fb288f382d535a588 Mon Sep 17 00:00:00 2001 From: Krystine Sherwin <93062060+KrystalDelusion@users.noreply.github.com> Date: Wed, 25 Jun 2025 10:39:50 +1200 Subject: [PATCH] docs/verilog_frontend.rst: Fix indentation --- .../source/yosys_internals/flow/verilog_frontend.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/source/yosys_internals/flow/verilog_frontend.rst b/docs/source/yosys_internals/flow/verilog_frontend.rst index d6bdf6b6d..2a26daec3 100644 --- a/docs/source/yosys_internals/flow/verilog_frontend.rst +++ b/docs/source/yosys_internals/flow/verilog_frontend.rst @@ -187,13 +187,13 @@ simplifies the creation of AST nodes for simple expressions a bit. For example the bison code for parsing multiplications: .. code:: none - :number-lines: + :number-lines: - basic_expr TOK_ASTER attr basic_expr { - $$ = std::make_unique(AST_MUL, std::move($1), std::move($4)); - SET_AST_NODE_LOC($$.get(), @1, @4); - append_attr($$.get(), $3); - } | + basic_expr TOK_ASTER attr basic_expr { + $$ = std::make_unique(AST_MUL, std::move($1), std::move($4)); + SET_AST_NODE_LOC($$.get(), @1, @4); + append_attr($$.get(), $3); + } | The generated AST data structure is then passed directly to the AST frontend that performs the actual conversion to RTLIL.