/[global]/global/gtags-parser/php.l
ViewVC logotype

Diff of /global/gtags-parser/php.l

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by shigio, Thu Apr 7 06:09:20 2005 UTC revision 1.4 by shigio, Sun Apr 10 11:48:26 2005 UTC
# Line 225  WORD           {ALPHA}{ALPHANUM}* Line 225  WORD           {ALPHA}{ALPHANUM}*
225                          }                          }
226  <PHP>{NUMBER}           debug_print("<N:%s>", phptext);  <PHP>{NUMBER}           debug_print("<N:%s>", phptext);
227  <PHP>{WORD}             {  <PHP>{WORD}             {
228                                  int id = reserved_word(phptext, phpleng);                                  int id = php_reserved_word(phptext, phpleng);
229                                  if (id) {                                  if (id) {
230                                          debug_print("<Reserved:%s>", phptext);                                          debug_print("<Reserved:%s>", phptext);
231                                          return id;                                          return id;
# Line 297  php(file) Line 297  php(file)
297                                  PUT(phptext, phplineno, file);                                  PUT(phptext, phplineno, file);
298                          break;                          break;
299                  case PHP_VARIABLE:                  case PHP_VARIABLE:
300                          if (reserved_variable(phptext, phpleng)) {                          if (php_reserved_variable(phptext, phpleng)) {
301                                  if (target == SYM)                                  if (target == SYM)
302                                          PUT(phptext, phplineno, file);                                          PUT(phptext, phplineno, file);
303                                  if (phplex() == PHP_LBRACK && phplex() == PHP_STRING && phplex() == PHP_RBRACK) {                                  if (phplex() == PHP_LBRACK && phplex() == PHP_STRING && phplex() == PHP_RBRACK) {

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26