Skip to content

Commit

Permalink
man3: fix broken source code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ligurio committed Nov 29, 2023
1 parent 4657750 commit cfb5348
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Typo in `lua_gethookcount(3)`.
- Description in `lua_close(3)`.
- Description in `luaL_newmetatable(3)`.
- Broken source code formatting in `lua_getinfo(3)`.

[Unreleased]: https://github.com/ligurio/luac-manual-pages/compare/0.1.2...master

Expand Down
2 changes: 1 addition & 1 deletion man3/lua_getinfo.3
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ was defined, you can write the following code:
lua_Debug ar;
lua_getfield(L, LUA_GLOBALSINDEX, "f"); /* get global 'f' */
lua_getinfo(L, ">S", &ar);
printf("%d\n", ar.linedefined);
printf("%d\&\\n", ar.linedefined);
.Ed
.Pp
Each character in the string what selects some fields of the structure ar to be
Expand Down

0 comments on commit cfb5348

Please sign in to comment.