2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-09-24 01:06:40 +00:00

refactor: adjust zcg code for working in x64

This commit is contained in:
Jan
2025-04-25 19:21:22 +01:00
committed by Jan Laupetin
parent c61dddf0e2
commit 60f5c1a18f
19 changed files with 322 additions and 312 deletions

View File

@@ -1,15 +1,18 @@
#include "TokenPos.h"
const std::string TokenPos::EMPTY_FILENAME;
namespace
{
const std::string EMPTY_FILENAME;
}
TokenPos::TokenPos()
: m_filename(EMPTY_FILENAME),
m_line(1),
m_column(1)
m_line(1uz),
m_column(1uz)
{
}
TokenPos::TokenPos(const std::string& filename, const int line, const int column)
TokenPos::TokenPos(const std::string& filename, const size_t line, const size_t column)
: m_filename(filename),
m_line(line),
m_column(column)