Changeset 185
- Timestamp:
- 10/08/09 14:40:14 (7 weeks ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/cpp_analysis/src/xtc/lang/c4/C4ParseTreePrinter.java
r127 r185 5 5 import xtc.tree.Printer; 6 6 import xtc.tree.GNode; 7 import xtc.tree.Token; 7 8 8 9 public class C4ParseTreePrinter extends ParseTreePrinter { … … 34 35 } 35 36 37 public void visitUserHeader(GNode n) { 38 39 for (Object o : n) { 40 if (o instanceof Node) { 41 if(((Node)o).getName() == "Include") 42 dispatch((Node)o); 43 } 44 } 45 } 46 47 public void visitSystemHeader(GNode n) { 48 49 for (Object o : n) { 50 if (o instanceof Node) { 51 if(((Node)o).getName() == "Include") 52 dispatch((Node)o); 53 } 54 } 55 } 56 36 57 }
