Changeset 39554 in webkit for trunk/JavaScriptCore/parser/Lexer.cpp
- Timestamp:
- Jan 2, 2009, 12:59:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/parser/Lexer.cpp
r39521 r39554 1 1 /* 2 2 * Copyright (C) 1999-2000 Harri Porten ([email protected]) 3 * Copyright (C) 2006, 2007, 2008 Apple Inc. All Rights Reserved.3 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All Rights Reserved. 4 4 * Copyright (C) 2007 Cameron Zwarich ([email protected]) 5 5 * … … 50 50 51 51 // a bridge for yacc from the C world to C++ 52 int kjsyylex(void* lvalp, void* llocp, void* globalData)52 int jscyylex(void* lvalp, void* llocp, void* globalData) 53 53 { 54 54 return static_cast<JSGlobalData*>(globalData)->lexer->lex(lvalp, llocp); … … 467 467 m_buffer8.append('\0'); 468 468 469 #ifdef KJS_DEBUG_LEX469 #ifdef JSC_DEBUG_LEX 470 470 fprintf(stderr, "line: %d ", lineNo()); 471 471 fprintf(stderr, "yytext (%x): ", m_buffer8[0]); … … 500 500 } 501 501 502 #ifdef KJS_DEBUG_LEX502 #ifdef JSC_DEBUG_LEX 503 503 switch (m_state) { 504 504 case Eof: … … 574 574 break; 575 575 case Bad: 576 #ifdef KJS_DEBUG_LEX576 #ifdef JSC_DEBUG_LEX 577 577 fprintf(stderr, "yylex: ERROR.\n"); 578 578 #endif
Note:
See TracChangeset
for help on using the changeset viewer.