summaryrefslogtreecommitdiff
path: root/gramscii.c
diff options
context:
space:
mode:
authorKatolaZ <katolaz@freaknet.org>2019-08-16 19:36:20 +0100
committerKatolaZ <katolaz@freaknet.org>2019-08-16 19:36:20 +0100
commit02c54fe6f289901f5b356ca98a81dec78fef4f36 (patch)
tree506c43e08f4dc34ce92cb41af6539f6e73cdf68e /gramscii.c
parent0940cd06c4a36b4794c48ebc703559caf7d53c53 (diff)
add support for comments
Diffstat (limited to 'gramscii.c')
-rw-r--r--gramscii.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gramscii.c b/gramscii.c
index 29b3f04..977a8cb 100644
--- a/gramscii.c
+++ b/gramscii.c
@@ -138,6 +138,10 @@ void commands(FILE *fc){
mode = PAR;
get_box(fc, BOX_PARR);
break;
+ case '#':
+ mode = REM;
+ get_comment(fc);
+ break;
case 'q':
check_modified(fc);/** FALLTHROUGH **/
case 'Q':