Hello,
when I bovinate something with comments it don't
ignore it.
My comments look like this: (* aaaaaaaaaa *)
In my language mode, my syntax table is:
(modify-syntax-entry ?\( ".1" semantic-f-syntax-table)
(modify-syntax-entry ?\) ".4" semantic-f-syntax-table)
(modify-syntax-entry ?* ".23" semantic-f-syntax-table)
and I also defined:
(set-syntax-table semantic-f-syntax-table)
(make-local-variable 'comment-start)
(setq comment-start "(*")
(make-local-variable 'comment-start-skip)
(setq comment-start-skip "(\\*+[\t]*")
(make-local-variable 'comment-end)
(setq comment-end "*)")
I've also tried to put in my f.bnf
document-comment-start "(*"
document-comment-line-prefix "**"
document-comment-end " )"
The best I can get it's that it only ignore '(*' and
'*)' but never the comment itself.
For example :
(* aaaaaaaaaaaaaa *)
It while try to find a rule for aaaaaaaaaaa.
As I also use '(' and ')' in my language I can't
define it in my syntax table as '<' and '>'.
Do you have any idea of what's going on ?
Thanks
Guillaume B.
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
|