Changes in / [26238c1:afce1cf]
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/LaTeXmacros/common.tex
r26238c1 rafce1cf 11 11 %% Created On : Sat Apr 9 10:06:17 2016 12 12 %% Last Modified By : Peter A. Buhr 13 %% Last Modified On : Mon Jul 24 21:02:14201714 %% Update Count : 35 213 %% Last Modified On : Mon Aug 28 09:39:38 2017 14 %% Update Count : 354 15 15 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 16 16 … … 148 148 % Latin abbreviation 149 149 \newcommand{\abbrevFont}{\textit} % set empty for no italics 150 \newcommand{\EG}{\abbrevFont{e}.\abbrevFont{g}.} 150 151 \newcommand*{\eg}{% 151 \@ifnextchar{,}{\abbrevFont{e}.\abbrevFont{g}.}% 152 {\@ifnextchar{:}{\abbrevFont{e}.\abbrevFont{g}.}% 153 {\abbrevFont{e}.\abbrevFont{g}.,\xspace}}% 154 }% 152 \@ifnextchar{,}{\EG}% 153 {\@ifnextchar{:}{\EG}% 154 {\EG,\xspace}}% 155 }% 156 \newcommand{\IE}{\abbrevFont{i}.\abbrevFont{e}.} 155 157 \newcommand*{\ie}{% 156 \@ifnextchar{,}{\abbrevFont{i}.\abbrevFont{e}.}% 157 {\@ifnextchar{:}{\abbrevFont{i}.\abbrevFont{e}.}% 158 {\abbrevFont{i}.\abbrevFont{e}.,\xspace}}% 159 }% 158 \@ifnextchar{,}{\IE}% 159 {\@ifnextchar{:}{\IE}% 160 {\IE,\xspace}}% 161 }% 162 \newcommand{\ETC}{\abbrevFont{etc}} 160 163 \newcommand*{\etc}{% 161 \@ifnextchar{.}{\abbrevFont{etc}}% 162 {\abbrevFont{etc}.\xspace}% 163 }% 164 \@ifnextchar{.}{\ETC}% 165 {\ETC\xspace}% 166 }% 167 \newcommand{\ETAL}{\abbrevFont{et\:al}} 164 168 \newcommand{\etal}{% 165 \@ifnextchar{.}{\ abbrevFont{et~al}}%166 {\abbrevFont{et al}.\xspace}%169 \@ifnextchar{.}{\ETAL}% 170 {\abbrevFont{\ETAL}.\xspace}% 167 171 }% 168 172 \makeatother -
src/Common/CodeLocation.h
r26238c1 rafce1cf 9 9 // Author : Andrew Beach 10 10 // Created On : Thr Aug 17 11:23:00 2017 11 // Last Modified By : Andrew Beach12 // Last Modified On : Thr Aug 17 14:07:00201713 // Update Count : 011 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Aug 28 12:46:01 2017 13 // Update Count : 2 14 14 // 15 15 … … 66 66 67 67 inline std::string to_string( const CodeLocation& location ) { 68 return location.isSet() ? location.filename + ":" + std::to_string(location.linenumber) + " " : ""; 68 // Column number ":1" allows IDEs to parse the error message and position the cursor in the source text. 69 return location.isSet() ? location.filename + ":" + std::to_string(location.linenumber) + ":1 " : ""; 69 70 } 70 71 -
src/InitTweak/InitTweak.cc
r26238c1 rafce1cf 325 325 std::string name = getFunctionName( expr ); 326 326 assertf( name == "*?", "Unexpected untyped expression: %s", name.c_str() ); 327 assertf( ! expr->get_args().empty(), "Can 't get called function from dereference with no arguments" );327 assertf( ! expr->get_args().empty(), "Cannot get called function from dereference with no arguments" ); 328 328 return getCalledFunction( expr->get_args().front() ); 329 329 } … … 433 433 std::string name = getFunctionName( expr ); 434 434 assertf( name == "*?", "Unexpected untyped expression: %s", name.c_str() ); 435 assertf( ! expr->get_args().empty(), "Can 't get function name from dereference with no arguments" );435 assertf( ! expr->get_args().empty(), "Cannot get function name from dereference with no arguments" ); 436 436 return funcName( expr->get_args().front() ); 437 437 } -
src/Parser/parser.yy
r26238c1 rafce1cf 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Sat Aug 26 17:50:19201713 // Update Count : 27 1212 // Last Modified On : Mon Aug 28 13:24:10 2017 13 // Update Count : 2720 14 14 // 15 15 … … 3136 3136 3137 3137 void yyerror( const char * ) { 3138 cout << "Error ";3139 3138 if ( yyfilename ) { 3140 cout << "in file " << yyfilename << "";3139 cout << yyfilename << ":"; 3141 3140 } // if 3142 cout << "at line " << yylineno << " readingtoken \"" << (yytext[0] == '\0' ? "EOF" : yytext) << "\"" << endl;3141 cout << yylineno << ":1 syntax error at token \"" << (yytext[0] == '\0' ? "EOF" : yytext) << "\"" << endl; 3143 3142 } 3144 3143 -
src/ResolvExpr/AlternativeFinder.cc
r26238c1 rafce1cf 9 9 // Author : Richard C. Bilson 10 10 // Created On : Sat May 16 23:52:08 2015 11 // Last Modified By : Andrew Beach12 // Last Modified On : Wed Jul 26 11:33:00201713 // Update Count : 3 111 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Aug 28 13:47:24 2017 13 // Update Count : 32 14 14 // 15 15 … … 195 195 AltList winners; 196 196 findMinCost( alternatives.begin(), alternatives.end(), back_inserter( winners ) ); 197 stream << "Can 't choose between " << winners.size() << " alternatives for expression ";197 stream << "Cannot choose between " << winners.size() << " alternatives for expression "; 198 198 expr->print( stream ); 199 199 stream << "Alternatives are:"; -
src/SymTab/Validate.cc
r26238c1 rafce1cf 9 9 // Author : Richard C. Bilson 10 10 // Created On : Sun May 17 21:50:04 2015 11 // Last Modified By : Andrew Beach12 // Last Modified On : Tus Aug 8 13:27:00201713 // Update Count : 35 811 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Mon Aug 28 13:47:23 2017 13 // Update Count : 359 14 14 // 15 15 … … 664 664 } else { 665 665 TypeDeclMap::const_iterator base = typedeclNames.find( typeInst->get_name() ); 666 assertf( base != typedeclNames.end(), "Can 't find typedecl name %s", typeInst->get_name().c_str() );666 assertf( base != typedeclNames.end(), "Cannot find typedecl name %s", typeInst->get_name().c_str() ); 667 667 typeInst->set_baseType( base->second ); 668 668 } // if -
src/tests/.expect/castError.txt
r26238c1 rafce1cf 1 castError.c:7 error: Can't choose between 3 alternatives for expression Cast of:1 castError.c:7:1 error: Cannot choose between 3 alternatives for expression Cast of: 2 2 Name: f 3 3 -
src/tests/.expect/completeTypeError.txt
r26238c1 rafce1cf 1 completeTypeError.c:34 error: No reasonable alternatives for expression Applying untyped:1 completeTypeError.c:34:1 error: No reasonable alternatives for expression Applying untyped: 2 2 Name: *? 3 3 ...to: … … 5 5 6 6 7 completeTypeError.c:36 error: No reasonable alternatives for expression Applying untyped:7 completeTypeError.c:36:1 error: No reasonable alternatives for expression Applying untyped: 8 8 Name: baz 9 9 ...to: … … 11 11 12 12 13 completeTypeError.c:37 error: No reasonable alternatives for expression Applying untyped:13 completeTypeError.c:37:1 error: No reasonable alternatives for expression Applying untyped: 14 14 Name: quux 15 15 ...to: … … 17 17 18 18 19 completeTypeError.c:58 error: No reasonable alternatives for expression Applying untyped:19 completeTypeError.c:58:1 error: No reasonable alternatives for expression Applying untyped: 20 20 Name: baz 21 21 ...to: … … 23 23 24 24 25 completeTypeError.c:59 error: No reasonable alternatives for expression Applying untyped:25 completeTypeError.c:59:1 error: No reasonable alternatives for expression Applying untyped: 26 26 Name: quux 27 27 ...to: … … 29 29 30 30 31 completeTypeError.c:60 error: No reasonable alternatives for expression Applying untyped:31 completeTypeError.c:60:1 error: No reasonable alternatives for expression Applying untyped: 32 32 Name: *? 33 33 ...to: … … 35 35 36 36 37 completeTypeError.c:72 error: No reasonable alternatives for expression Applying untyped:37 completeTypeError.c:72:1 error: No reasonable alternatives for expression Applying untyped: 38 38 Name: baz 39 39 ...to: -
src/tests/.expect/declarationErrors.txt
r26238c1 rafce1cf 1 declarationErrors.c:16 error: duplicate static in declaration of x1: static const volatile short int1 declarationErrors.c:16:1 error: duplicate static in declaration of x1: static const volatile short int 2 2 3 declarationErrors.c:17 error: conflicting extern & static in declaration of x2: extern const volatile short int3 declarationErrors.c:17:1 error: conflicting extern & static in declaration of x2: extern const volatile short int 4 4 5 declarationErrors.c:18 error: conflicting extern & auto, conflicting extern & static, conflicting extern & static, duplicate extern in declaration of x3: extern const volatile short int5 declarationErrors.c:18:1 error: conflicting extern & auto, conflicting extern & static, conflicting extern & static, duplicate extern in declaration of x3: extern const volatile short int 6 6 7 declarationErrors.c:19 error: duplicate static in declaration of x4: static const volatile instance of const volatile struct __anonymous07 declarationErrors.c:19:1 error: duplicate static in declaration of x4: static const volatile instance of const volatile struct __anonymous0 8 8 with members 9 9 with body 10 10 11 11 12 declarationErrors.c:20 error: duplicate const, duplicate static, duplicate volatile in declaration of x5: static const volatile instance of const volatile struct __anonymous112 declarationErrors.c:20:1 error: duplicate const, duplicate static, duplicate volatile in declaration of x5: static const volatile instance of const volatile struct __anonymous1 13 13 with members 14 14 with body 15 15 16 16 17 declarationErrors.c:22 error: duplicate static in declaration of x6: static const volatile instance of type Int17 declarationErrors.c:22:1 error: duplicate static in declaration of x6: static const volatile instance of type Int 18 18 19 declarationErrors.c:24 error: duplicate const in declaration of f01: static inline function19 declarationErrors.c:24:1 error: duplicate const in declaration of f01: static inline function 20 20 with no parameters 21 21 returning const volatile int 22 22 23 23 24 declarationErrors.c:25 error: duplicate volatile in declaration of f02: static inline function24 declarationErrors.c:25:1 error: duplicate volatile in declaration of f02: static inline function 25 25 with no parameters 26 26 returning const volatile int 27 27 28 28 29 declarationErrors.c:26 error: duplicate const in declaration of f03: static inline function29 declarationErrors.c:26:1 error: duplicate const in declaration of f03: static inline function 30 30 with no parameters 31 31 returning const volatile int 32 32 33 33 34 declarationErrors.c:27 error: duplicate volatile in declaration of f04: static inline function34 declarationErrors.c:27:1 error: duplicate volatile in declaration of f04: static inline function 35 35 with no parameters 36 36 returning const volatile int 37 37 38 38 39 declarationErrors.c:28 error: duplicate const in declaration of f05: static inline function39 declarationErrors.c:28:1 error: duplicate const in declaration of f05: static inline function 40 40 with no parameters 41 41 returning const volatile int 42 42 43 43 44 declarationErrors.c:29 error: duplicate volatile in declaration of f06: static inline function44 declarationErrors.c:29:1 error: duplicate volatile in declaration of f06: static inline function 45 45 with no parameters 46 46 returning const volatile int 47 47 48 48 49 declarationErrors.c:30 error: duplicate const in declaration of f07: static inline function49 declarationErrors.c:30:1 error: duplicate const in declaration of f07: static inline function 50 50 with no parameters 51 51 returning const volatile int 52 52 53 53 54 declarationErrors.c:31 error: duplicate const, duplicate volatile in declaration of f08: static inline function54 declarationErrors.c:31:1 error: duplicate const, duplicate volatile in declaration of f08: static inline function 55 55 with no parameters 56 56 returning const volatile int 57 57 58 58 59 declarationErrors.c:33 error: duplicate const, duplicate volatile in declaration of f09: static inline function59 declarationErrors.c:33:1 error: duplicate const, duplicate volatile in declaration of f09: static inline function 60 60 with no parameters 61 61 returning const volatile int 62 62 63 63 64 declarationErrors.c:34 error: duplicate const, duplicate _Atomic, duplicate _Atomic, duplicate const, duplicate restrict, duplicate volatile in declaration of f09: static inline function64 declarationErrors.c:34:1 error: duplicate const, duplicate _Atomic, duplicate _Atomic, duplicate const, duplicate restrict, duplicate volatile in declaration of f09: static inline function 65 65 with no parameters 66 66 returning const restrict volatile _Atomic int -
src/tests/.expect/dtor-early-exit-ERR1.txt
r26238c1 rafce1cf 1 dtor-early-exit.c:142 error: jump to label 'L1' crosses initialization of y Branch (Goto) 1 dtor-early-exit.c:142:1 error: jump to label 'L1' crosses initialization of y Branch (Goto) 2 -
src/tests/.expect/dtor-early-exit-ERR2.txt
r26238c1 rafce1cf 1 dtor-early-exit.c:142 error: jump to label 'L2' crosses initialization of y Branch (Goto) 1 dtor-early-exit.c:142:1 error: jump to label 'L2' crosses initialization of y Branch (Goto) 2 -
src/tests/.expect/memberCtors-ERR1.txt
r26238c1 rafce1cf 1 memberCtors.c:71 error: in void ?{}(B &b), field a2 used before being constructed1 memberCtors.c:71:1 error: in void ?{}(B &b), field a2 used before being constructed -
src/tests/.expect/scopeErrors.txt
r26238c1 rafce1cf 1 scopeErrors.c:2 error: duplicate object definition for thisIsAnError: signed int2 scopeErrors.c:20 error: duplicate function definition for butThisIsAnError: function1 scopeErrors.c:2:1 error: duplicate object definition for thisIsAnError: signed int 2 scopeErrors.c:20:1 error: duplicate function definition for butThisIsAnError: function 3 3 with parameters 4 4 double 5 returning 5 returning 6 6 _retval_butThisIsAnError: Attribute with name: unused 7 7 double 8 with body 8 with body 9 9 CompoundStmt 10
Note: See TracChangeset
for help on using the changeset viewer.