Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

add new language under windows

harris
2010-07-20
2013-05-29
  • 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:/

    --langdef=systemverilog
    --langmap=systemverilog:.sv.svh.svi
    --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/
    --systemverilog-kinds=+ctfmpie
    

    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.

     
  • springmoons
    springmoons
    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.