[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/kjs
From:       Helio Chissini de Castro <helio () conectiva ! com ! br>
Date:       2003-11-03 14:10:10
[Download RAW message or body]

CVS commit by helio: 

- Fixed lexer to use right prefix


  M +3 -3      lexer.cpp   1.57


--- kdelibs/kjs/lexer.cpp  #1.56:1.57
@@ -52,5 +52,5 @@ static Lexer *currLexer = 0;
 #include "lexer.lut.h"
 
-extern YYLTYPE yylloc; // global bison variable holding token info
+extern YYLTYPE kjsyylloc; // global bison variable holding token info
 
 // a bridge for yacc from the C world to C++
@@ -507,6 +507,6 @@ int Lexer::lex()
   restrKeyword = false;
   delimited = false;
-  yylloc.first_line = yylineno; // ???
-  yylloc.last_line = yylineno;
+  kjsyylloc.first_line = yylineno; // ???
+  kjsyylloc.last_line = yylineno;
 
   switch (state) {


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic