Changeset 47264 in webkit for trunk/JavaScriptCore
- Timestamp:
- Aug 13, 2009, 6:11:38 PM (16 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r47263 r47264 1 2009-08-13 Darin Adler <[email protected]> 2 3 Fix Tiger build. 4 5 * parser/Grammar.y: Use a template function so we can compile 6 setStatementLocation even if it comes before YYLTYPE is defined. 7 1 8 2009-08-13 Darin Adler <[email protected]> 2 9 -
trunk/JavaScriptCore/parser/Grammar.y
r47263 r47264 179 179 %{ 180 180 181 static inline void setStatementLocation(StatementNode* statement, const YYLTYPE& start, const YYLTYPE& end)181 template <typename T> inline void setStatementLocation(StatementNode* statement, const T& start, const T& end) 182 182 { 183 183 statement->setLoc(start.first_line, end.last_line);
Note:
See TracChangeset
for help on using the changeset viewer.