From 0ddb4c2ef289496221b8a113f582086a36c2da87 Mon Sep 17 00:00:00 2001 From: Silas Wrinker Date: Mon, 22 Jul 2024 17:05:53 -0400 Subject: [PATCH] Update parse.cpp --- src/crate/parse.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/crate/parse.cpp b/src/crate/parse.cpp index d7f78d2..9f01bab 100644 --- a/src/crate/parse.cpp +++ b/src/crate/parse.cpp @@ -18,6 +18,8 @@ Program parse(vector tlist) { for (int i = 0; i < size(tlist); i++) { tok = tlist.at(i); + cout << "\nToken " << i << " of type " << tok.ttype << ": " << tok.value << " with load_type " << load_type << "\n"; + switch (tok.ttype) { case 103: // what to do with end-of-lines if (eol) {