aboutsummaryrefslogtreecommitdiff
path: root/parser.d
diff options
context:
space:
mode:
authormryouse2023-05-25 02:00:37 +0000
committermryouse2023-05-25 02:00:37 +0000
commitd13ae11c4f7cccd8f5e3ad072597c55c9471a638 (patch)
tree21dc02981028427df88aacec64b162aec903eb34 /parser.d
parentb2a3dc3b78dd6ce60b7c5e685fbbb40c84434691 (diff)
fix def bug (maybe?) and block bug (maybe?)
Diffstat (limited to 'parser.d')
-rw-r--r--parser.d3
1 files changed, 2 insertions, 1 deletions
diff --git a/parser.d b/parser.d
index 11691f9..97557ca 100644
--- a/parser.d
+++ b/parser.d
@@ -435,7 +435,8 @@ class Parser {
Def def = new Def(cast(Symbol)sym, val, line);
- advance(); // closing paren
+ char ch = advance(); // closing paren
+ writefln("got this char: '%c'", ch);
return def;
}