Changes in src/AST/Expr.cpp [b1f2007d:c4570af3]
- File:
-
- 1 edited
-
src/AST/Expr.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Expr.cpp
rb1f2007d rc4570af3 9 9 // Author : Aaron B. Moss 10 10 // Created On : Wed May 15 17:00:00 2019 11 // Last Modified By : Peter A. Buhr11 // Last Modified By : Andrew Beach 12 12 // Created On : Wed May 18 13:56:00 2022 13 // Update Count : 1213 // Update Count : 8 14 14 // 15 15 … … 168 168 return addrType( refType->base ); 169 169 } else { 170 SemanticError( loc, "Attempt to take address of non-lvalue expression %s",171 toString( arg->result.get() ).c_str());170 SemanticError( loc, arg->result.get(), 171 "Attempt to take address of non-lvalue expression: " ); 172 172 } 173 173 } … … 240 240 return 1; 241 241 } 242 SemanticError( this->location, "Constant expression of non-integral type %s", 243 toString( this ).c_str() ); 242 SemanticError( this, "Constant expression of non-integral type " ); 244 243 } 245 244
Note:
See TracChangeset
for help on using the changeset viewer.