diff options
author | YamaArashi <shadow962@live.com> | 2016-05-15 07:08:39 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-05-15 07:08:39 -0700 |
commit | 91c4c96fe991b9a5c3aff6af3f1d4cb715b89c5c (patch) | |
tree | f69626c30173576a604d4bd04d034bb5ef8a0e9d /tools/preproc/asm_file.h | |
parent | eaa9f37ca97c1c546fa3386d4389a45ebbc60b18 (diff) |
allow multiple symbols/integers inside curly brackets in preproc
Diffstat (limited to 'tools/preproc/asm_file.h')
-rw-r--r-- | tools/preproc/asm_file.h | 4 |
1 files changed, 2 insertions, 2 deletions
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); |