Ignore:
Timestamp:
Jan 17, 2025, 3:46:34 PM (2 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
df56e25
Parents:
3b340d68
Message:

expunge fallthru keyword and replace its usages with fallthrough

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/CodeGen/CodeGenerator.cpp

    r3b340d68 rd96f7c4  
    99// Author           : Andrew Beach
    1010// Created On       : Tue Oct 17 15:54:00 2023
    11 // Last Modified By : Andrew Beach
    12 // Last Modified On : Wed Oct 25 18:28:00 2023
    13 // Update Count     : 0
     11// Last Modified By : Peter A. Buhr
     12// Last Modified On : Fri Jan 17 14:19:22 2025
     13// Update Count     : 1
    1414//
    1515
     
    10921092        case ast::BranchStmt::FallThrough:
    10931093        case ast::BranchStmt::FallThroughDefault:
    1094                 assertf( !options.genC, "fallthru should not reach code generation." );
    1095                 output << "fallthru";
     1094                assertf( !options.genC, "fallthrough should not reach code generation." );
     1095                output << "fallthrough";
    10961096                break;
    10971097        default:
    10981098                assertf( false, "Bad BranchStmt value." );
    10991099        }
    1100         // Print branch target for labelled break/continue/fallthru in debug mode.
     1100        // Print branch target for labelled break/continue/fallthrough in debug mode.
    11011101        if ( !options.genC && stmt->kind != ast::BranchStmt::Goto ) {
    11021102                if ( !stmt->target.empty() ) {
Note: See TracChangeset for help on using the changeset viewer.