Changeset 49365 in webkit for trunk/JavaScriptCore/parser
- Timestamp:
- Oct 8, 2009, 8:22:41 PM (16 years ago)
- Location:
- trunk/JavaScriptCore/parser
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/parser/Grammar.y
r47664 r49365 28 28 #include "JSObject.h" 29 29 #include "JSString.h" 30 #include "Lexer.h" 30 31 #include "NodeConstructors.h" 31 32 #include "NodeInfo.h" … … 49 50 #endif 50 51 51 int jscyylex(void* lvalp, void* llocp, void* globalPtr);52 52 int jscyyerror(const char*); 53 53 -
trunk/JavaScriptCore/parser/Lexer.cpp
r47664 r49365 46 46 #include "Lookup.h" 47 47 #include "Lexer.lut.h" 48 49 // A bridge for yacc from the C world to the C++ world.50 int jscyylex(void* lvalp, void* llocp, void* globalData)51 {52 return static_cast<JSGlobalData*>(globalData)->lexer->lex(lvalp, llocp);53 }54 48 55 49 namespace JSC { -
trunk/JavaScriptCore/parser/Lexer.h
r47664 r49365 137 137 } 138 138 139 // A bridge for yacc from the C world to the C++ world. 140 inline int jscyylex(void* lvalp, void* llocp, void* globalData) 141 { 142 return static_cast<JSGlobalData*>(globalData)->lexer->lex(lvalp, llocp); 143 } 144 139 145 } // namespace JSC 140 146
Note:
See TracChangeset
for help on using the changeset viewer.