From 91c4c96fe991b9a5c3aff6af3f1d4cb715b89c5c Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sun, 15 May 2016 07:08:39 -0700 Subject: allow multiple symbols/integers inside curly brackets in preproc --- tools/preproc/asm_file.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools/preproc/asm_file.h') diff --git a/tools/preproc/asm_file.h b/tools/preproc/asm_file.h index f6bfe8a36..398c46a36 100644 --- a/tools/preproc/asm_file.h +++ b/tools/preproc/asm_file.h @@ -56,11 +56,11 @@ private: std::string m_filename; bool ConsumeComma(); - int ReadPadLength(); + int ReadInteger(int maxValue); void RemoveComments(); bool CheckForDirective(std::string name); std::string ReadCharOrEscape(); - std::string ReadConstant(); + std::string ReadBracketedConstants(); void SkipWhitespace(); void ExpectEmptyRestOfLine(); void ReportDiagnostic(const char* type, const char* format, std::va_list args); -- cgit v1.2.3