Code Monkey home page Code Monkey logo

Comments (3)

mgu avatar mgu commented on May 30, 2024

In the documentation I see

Ay tag may have tag modifiers. For instance, you may say @\param[type=number] and this associates the modifier type with value number with this particular param tag. A shorthand can be introduced for this common case, which is "@tparam "; in the same way @\treturn is defined.

But in the source code there is

-- any tag (except name and classs) may have associated modifiers,
-- in the form @tag[m1,...] where  m1 is either name1=value1 or name1.

as @function is parsed as class + name, I can't use modifiers on this tag.

What could be done at first, is to ignore the modifiers (LDoc should not throw an error on this)

from ldoc.

stevedonovan avatar stevedonovan commented on May 30, 2024

Cool, latest version (1.3.5) no longer considers this an error (would apply also to module etc). We aren't yet passing the tag modifiers through, however, so I'll keep the issue open.

from ldoc.

alerque avatar alerque commented on May 30, 2024

Anybody understand the status of this issue? In v1.5.0 I'm getting the original error again, which comments suggest should have changed. Is this a regression or just an indication that the other half of this issue was never addressed?

from ldoc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.