Changeset 5546eee4 for src/CodeGen
- Timestamp:
- Dec 16, 2023, 1:01:44 AM (6 months ago)
- Branches:
- master
- Children:
- b7898ac
- Parents:
- 0fa0201d (diff), 69ab896 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- src/CodeGen
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/CodeGen/CodeGenerator.cpp
r0fa0201d r5546eee4 1026 1026 output << " ) "; 1027 1027 1028 output << "{" ;1028 output << "{" << endl; 1029 1029 ++indent; 1030 1030 for ( auto node : stmt->cases ) { -
src/CodeGen/FixMain.cc
r0fa0201d r5546eee4 11 11 // Last Modified By : 12 12 // Last Modified On : 13 // Update Count : 013 // Update Count : 1 14 14 // 15 15 … … 39 39 if ( isMain( decl ) ) { 40 40 if ( main_declaration ) { 41 SemanticError( decl, "Multiple definition of main routine \n" );41 SemanticError( decl, "Multiple definition of main routine" ); 42 42 } 43 43 main_declaration = decl; -
src/CodeGen/FixNames.cc
r0fa0201d r5546eee4 9 9 // Author : Richard C. Bilson 10 10 // Created On : Mon May 18 07:44:20 2015 11 // Last Modified By : Andrew Beach12 // Last Modified On : Wed Jul 20 11:49:00 202213 // Update Count : 2 411 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Thu Dec 14 16:16:51 2023 13 // Update Count : 25 14 14 // 15 15 … … 57 57 int nargs = mutDecl->params.size(); 58 58 if ( 0 != nargs && 2 != nargs && 3 != nargs ) { 59 SemanticError( functionDecl, "Main expected to have 0, 2 or 3 arguments \n" );59 SemanticError( functionDecl, "Main expected to have 0, 2 or 3 arguments" ); 60 60 } 61 61 ast::chain_mutate( mutDecl->stmts )->kids.push_back(
Note: See TracChangeset
for help on using the changeset viewer.