Changeset 550afde2 for src


Ignore:
Timestamp:
Jul 5, 2024, 3:49:53 PM (2 weeks ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
master
Children:
5a2b0b7, bb336a6
Parents:
c2cf2d0
Message:

Constant strings on input. The previous changes only effected generated code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Parser/ExpressionNode.cpp

    rc2cf2d0 r550afde2  
    483483        Default:                                                                                        // char default string type
    484484        default:
    485                 strtype = new ast::BasicType( ast::BasicKind::Char );
     485                strtype = new ast::BasicType( ast::BasicKind::Char, ast::CV::Const );
    486486        } // switch
    487487        ast::ArrayType * at = new ast::ArrayType(
Note: See TracChangeset for help on using the changeset viewer.