Changeset 20519b7
- Timestamp:
- Jul 11, 2017, 9:28:40 PM (7 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:
- 7812f1d1
- Parents:
- 38ac6ec
- Location:
- src/Parser
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/StatementNode.cc
r38ac6ec r20519b7 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
r38ac6ec r20519b7 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:20:23 2017 13 * Update Count : 533 14 14 */ 15 15 … … 18 18 19 19 %{ 20 // Stop warning due to incorrectly generated flex code. 21 #pragma GCC diagnostic ignored "-Wsign-compare" 22 20 23 // This lexer assumes the program has been preprocessed by cpp. Hence, all user level preprocessor directive have been 21 24 // performed and removed from the source. The only exceptions are preprocessor directives passed to the compiler (e.g.,
Note: See TracChangeset
for help on using the changeset viewer.