Updating card rules text in Mananlink source files possible?
Discuss Upcoming Releases, Coding New Cards, Etc.
PLEASE DO NOT REPORT BUGS HERE!
PLEASE DO NOT REPORT BUGS HERE!
Moderators: BAgate, drool66, Aswan jaguar, gmzombie, stassy, CCGHQ Admins
Re: Updating card rules text in Mananlink source files possi
by Korath » 11 Nov 2020, 23:23
Grep's the wrong tool to verify this sort of thing - c is nontrivial to parse.
If you're just trying to reformat what's there, not update the rules text, the standard tool is indent. Manalink proper is such an inconsistent jumble that it'd probable benefit from being run through it.
If you're just trying to reformat what's there, not update the rules text, the standard tool is indent. Manalink proper is such an inconsistent jumble that it'd probable benefit from being run through it.
-
Korath - DEVELOPER
- Posts: 3708
- Joined: 02 Jun 2013, 05:57
- Has thanked: 496 times
- Been thanked: 1108 times
Re: Updating card rules text in Mananlink source files possi
by FastEddie » 14 Nov 2020, 10:14
Sorry for butting in, I think what Aswan Jaguar was referring to was this comment from you:
Which is what he did, most of the comments I saw are now indented by one tab.Korath wrote:(As long as you're fiddling with card text comments, please, please move them out of the first column when they're inside functions. It confuses the bejeezus out of git grep -p and the equivalent functionality in git diff.)
---
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
17 posts
• Page 2 of 2 • 1, 2
Who is online
Users browsing this forum: No registered users and 12 guests