Skip to content

Commit 718016b

Browse files
committed
fix(parser): fix a bug
please refer to the work log for details
1 parent a1b71b4 commit 718016b

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

doc/工作日志/20250412.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# 2025/04/12 工作日志
2+
3+
本次更新没有建立版本。
4+
本次更新修复了一个问题
5+
6+
### 修复了一个问题
7+
8+
我未在``Parser.cpp``中引用``CompilerConfig.hpp``,这使得代码在Makefile中正常构建,但在CMake中报错。

doc/工作日志后记集.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@
66
本文档记录了作者在项目开发时遇到的事情及其心路历程,你可以将本文档视作“番外篇”。
77
本文档补充了我在一些时刻做出一些决定的理由。
88

9+
### 2025/04/12 后记
10+
11+
本更新提交于赛场上。
12+
913
### 2025/04/04后记
1014

1115
自从将后记整理到一个单独的文档中,我就慢慢失去了写后记的习惯......

src/compiler/Parser.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
#include"Lexer.cpp"
1717
#include"CompilerExceptionMessage.cpp"
18+
#include"CompilerConfig.hpp"
1819

1920
#define check(type) (matcher.Check(type))
2021
#define _pop (matcher.Pop())

0 commit comments

Comments
 (0)