Ignore:
Timestamp:
Dec 13, 2023, 9:17:13 AM (5 months ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
master
Children:
4c2fe47
Parents:
c40157e
Message:

first attempt at simplifying SemanticError? and its usage

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ControlStruct/FixLabels.cpp

    rc40157e rb1f2007  
    1010// Created On       : Mon Nov  1 09:39:00 2021
    1111// Last Modified By : Peter A. Buhr
    12 // Last Modified On : Mon Jan 31 22:19:17 2022
    13 // Update Count     : 9
     12// Last Modified On : Sun Nov 26 15:06:51 2023
     13// Update Count     : 10
    1414//
    1515
     
    4747        for ( auto kvp : labelTable ) {
    4848                if ( nullptr == kvp.second ) {
    49                         SemanticError( kvp.first.location,
    50                                                    "Use of undefined label: " + kvp.first.name );
     49                        SemanticError( kvp.first.location, "Use of undefined label %s.", kvp.first.name.c_str() );
    5150                }
    5251        }
Note: See TracChangeset for help on using the changeset viewer.