Handle reserved tokens as strings instead of characters Posted Jul 5, 2024 By gold-duo 1 min read将词法切割出的字符用字符串表示,现在只处理 +-*/()符号。为后续要处理关键字、不止一个字符的符号做准备知识点一个strncmp函数,比较两个字符串的特定长度,相等则返回0 compiler, chibicc chibicc rvcc This post is licensed under CC BY 4.0 by the author. Share