Changeset f73f5f4 for src/Parser
- Timestamp:
- Jul 12, 2017, 10:14:15 AM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 3268a58, 76f2bdcb
- Parents:
- f2b12406 (diff), 7812f1d1 (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/Parser
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/StatementNode.cc
rf2b12406 rf73f5f4 10 10 // Created On : Sat May 16 14:59:41 2015 11 11 // Last Modified By : Peter A. Buhr 12 // Last Modified On : Wed Jun 28 21:08:37201713 // Update Count : 33 012 // Last Modified On : Tue Jul 11 21:23:15 2017 13 // Update Count : 331 14 14 // 15 15 … … 93 93 std::list< Statement * > branches; 94 94 buildMoveList< Statement, StatementNode >( stmt, branches ); 95 assert( branches.size() >= 0 ); // size== 0 for switch (...) {}, i.e., no declaration or statements95 // branches.size() == 0 for switch (...) {}, i.e., no declaration or statements 96 96 return new SwitchStmt( noLabels, maybeMoveBuild< Expression >(ctl), branches ); 97 97 } -
src/Parser/lex.ll
rf2b12406 rf73f5f4 10 10 * Created On : Sat Sep 22 08:58:10 2001 11 11 * Last Modified By : Peter A. Buhr 12 * Last Modified On : Wed Jun 28 21:03:45201713 * Update Count : 5 2912 * Last Modified On : Tue Jul 11 21:30:51 2017 13 * Update Count : 534 14 14 */ 15 15 … … 59 59 } 60 60 61 // Stop warning due to incorrectly generated flex code. 62 #pragma GCC diagnostic ignored "-Wsign-compare" 61 63 %} 62 64 -
src/Parser/parser.yy
rf2b12406 rf73f5f4 10 10 // Created On : Sat Sep 1 20:22:55 2001 11 11 // Last Modified By : Andrew Beach 12 // Last Modified On : Fri Jun 30 15:38:00 201713 // Update Count : 241 512 // Last Modified On : Tus Jul 11 13:39:00 2017 13 // Update Count : 2416 14 14 // 15 15 … … 2176 2176 { 2177 2177 linkageStack.push( linkage ); // handle nested extern "C"/"Cforall" 2178 linkage = LinkageSpec::linkage Check($2 );2178 linkage = LinkageSpec::linkageUpdate( linkage, $2 ); 2179 2179 } 2180 2180 '{' external_definition_list_opt '}'
Note:
See TracChangeset
for help on using the changeset viewer.