It is currently 18 Apr 2024, 06:55
   
Text Size

Updating card rules text in Mananlink source files possible?

Discuss Upcoming Releases, Coding New Cards, Etc.
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

Postby 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.
User avatar
Korath
DEVELOPER
 
Posts: 3707
Joined: 02 Jun 2013, 05:57
Has thanked: 496 times
Been thanked: 1106 times

Re: Updating card rules text in Mananlink source files possi

Postby FastEddie » 14 Nov 2020, 10:14

Sorry for butting in, I think what Aswan Jaguar was referring to was this comment from you:
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.)
Which is what he did, most of the comments I saw are now indented by one tab.
---
Argivian Archaeologist in the Library of Leng studying the Spells of the Ancients
User avatar
FastEddie
 
Posts: 246
Joined: 24 Dec 2019, 10:59
Has thanked: 15 times
Been thanked: 19 times

Previous

Return to Development

Who is online

Users browsing this forum: No registered users and 17 guests

cron

Who is online

In total there are 17 users online :: 0 registered, 0 hidden and 17 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 17 guests

Login Form