add new language under windows

  • harris

    harris - 2010-07-20

    I want to extend ctags supporting for systemverilog.
    I create a file named ctags.cnf which is put in c:/

    --regex-systemverilog=/^[ \t]*(virtual)?[ \t]*class[ \t]*([a-zA-Z_0-9]+)/\2/c,class/
    --regex-systemverilog=/^[ \t]*(virtual)?[ \t]*task[ \t]*.*[ \t]+([a-zA-Z_0-9]+)[ \t]*[(;]/\2/t,task/
    --regex-systemverilog=/^[ \t]*(virtual)?[ \t]*function[ \t]*.*[ \t]+([a-zA-Z_0-9]+)[ \t]*[(;]/\2/f,function/
    --regex-systemverilog=/^[ \t]*module[ \t]*([a-zA-Z_0-9]+)/\1/m,module/
    --regex-systemverilog=/^[ \t]*program[ \t]*([a-zA-Z_0-9]+)/\1/p,program/
    --regex-systemverilog=/^[ \t]*interface[ \t]*([a-zA-Z_0-9]+)/\1/i,interface/
    --regex-systemverilog=/^[ \t]*typedef[ \t]+.*[ \t]+([a-zA-Z_0-9]+)[ \t]*;/\1/e,typedef/

    However, when I create the tags, it gave out the error:

    D:\tmp>ctags -R *.sv
    ctags: Unknown option: -l

    I want to know if windows ctags supports new language extension.

    BTW. If I copy the ctags.cnf  into the linux as $HOME/.ctags,  it works well.

  • Anonymous

    Anonymous - 2012-04-12

    In Franck Muller ancient Rome, the Roger Dubuis Romans Parmigiani used calendar appear chaotic.Each contains 12 months, alternately for 29 days and 30 days.You don't have to be a genius in math can also notice Rome calendar and solar astronomy realistic apparent discrepancies.


Log in to post a comment.