Changeset d48e529 for src/Parser/ParseNode.h
- Timestamp:
- Sep 19, 2017, 1:22:51 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:
- a9a4771
- Parents:
- 4e8949f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Parser/ParseNode.h
r4e8949f rd48e529 44 44 //############################################################################## 45 45 46 typedef CodeLocation YYLTYPE; 47 #define YYLTYPE_IS_DECLARED 1 /* alert the parser that we have our own definition */ 48 46 49 extern char * yyfilename; 47 50 extern int yylineno; 51 extern YYLTYPE yylloc; 48 52 49 53 class ParseNode { … … 73 77 ParseNode * next = nullptr; 74 78 std::string * name = nullptr; 75 CodeLocation location = { yyfilename, yylineno };79 CodeLocation location = yylloc; 76 80 }; // ParseNode 77 81
Note: See TracChangeset
for help on using the changeset viewer.