hi, 

I am working on a php project using cedet. There seems to a parsing problem with the "define()" function. 

The file looks like below.

define('SOME_CONST', 0);

class some_class
{


}


I run "bovinate". It comes back with no tags.

I run "semantic-describe-buffer". Here is the result.

Semantic Configuration in some_file.php

Buffer specific configuration items:
  major-mode: #'php-mode
  semantic-case-fold: : nil
  semantic-tag-expand-function: #'semantic-expand-c-tag
  semantic-parser-name: "LALR"
  semantic-parse-tree-state: : nil
  semantic-lex-analyzer: #'wisent-php-lexer
  semantic-lex-reset-hooks:  #<list of 2 items>
    #'semantic-lex-spp-reset-hook
    't
  semantic-lex-syntax-modifications:  #<list of 2 items>
    #<list o' stuff: 2 entries>
    #<list o' stuff: 2 entries>

General configuration items:
  semantic-inhibit-functions: : nil
  semantic-init-hook: #<list o' stuff: 12 entries>
  semantic-init-db-hook:  #<list of 1 items>
    #'semanticdb-semantic-init-hook-fcn
  semantic-unmatched-syntax-hook: : nil
  semantic--before-fetch-tags-hook: : nil
  semantic-after-toplevel-bovinate-hook: : nil
  semantic-after-toplevel-cache-change-hook:  #<list of 4 items>
    #'semantic-imenu-flush-fcn
    #'senator-completion-cache-flush-fcn
    #'semantic-decorate-tags-after-full-reparse
    't
  semantic-before-toplevel-cache-flush-hook:  #<list of 2 items>
    #'semantic-mrub-cache-flush-fcn
    #'semantic-edits-flush-changes
  semantic-dump-parse: : nil
  semantic-type-relation-separator-character:  #<list of 3 items>
    "."
    "->"
    "::"
  semantic-command-separation-character: ";


If I commet out the define function before the class definition, and then run "bovinate". The class will be successfully parsed.

Any solution to this?