Menu

Function List: User rule not working

2007-07-24
2012-11-13
  • Nobody/Anonymous

    a valid function looks like this( Yes its c like ):
    stock func_name()
    {
    }

    and my rules are:
    function begin: \([ \t]*stock[ \t]+
    function name: [a-zA-Z0-9_]+
    function end: \([a-zA-Z0-9_, \t]+\)
    separator: NOTHING SPECIFIED
    body begin: {
    body end: }

    I dont know why, but it doesnt work :(

     
    • Nobody/Anonymous

      Are you sure with the "\(" in function begin?
      I use for body "\{" and "\}".
      The rest looks OK for me.

      Best Regards
      Jens