Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boilerplate option inconsistent #123

Closed
dirkfeytons opened this issue Dec 10, 2013 · 1 comment
Closed

boilerplate option inconsistent #123

dirkfeytons opened this issue Dec 10, 2013 · 1 comment

Comments

@dirkfeytons
Copy link
Contributor

Using LDoc f60e6d4

I have a file test.c with following contents:

/** boiler plate
 ******************************************************************************/

/**
 * My Module.
 * @module my.lib
 */

#include <lua.h>
#include <lauxlib.h>

static int l_my_func(lua_State *L)
{
  return 0;
} 

and a config.ld with a simple

boilerplate = true

Invoking ldoc . test.c fails with .../test.c:9: Module already declared! but invoking ldoc -B . test.c everything works.
If I change the first line in test.c to /* boiler plate then both invocations work.

stevedonovan added a commit that referenced this issue Dec 24, 2013
Fix issue #123: override 'boilerplate' was done too late
@alerque
Copy link
Member

alerque commented May 3, 2023

I just tested the MWE here and the previously merged PR seems to have fixed this.

@alerque alerque closed this as completed May 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants