1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 23:19:56 +00:00
openmw-tes3mp/components/compiler/lineparser.cpp
2010-06-28 12:12:47 +02:00

43 lines
1 KiB
C++

#include "lineparser.hpp"
#include "scanner.hpp"
namespace Compiler
{
LineParser::LineParser (ErrorHandler& errorHandler, Context& context)
: Parser (errorHandler, context)
{}
bool LineParser::parseInt (int value, const TokenLoc& loc, Scanner& scanner)
{
return Parser::parseInt (value, loc, scanner);
}
bool LineParser::parseFloat (float value, const TokenLoc& loc, Scanner& scanner)
{
return Parser::parseFloat (value, loc, scanner);
}
bool LineParser::parseName (const std::string& name, const TokenLoc& loc,
Scanner& scanner)
{
return Parser::parseName (name, loc, scanner);
}
bool LineParser::parseKeyword (int keyword, const TokenLoc& loc, Scanner& scanner)
{
return Parser::parseKeyword (keyword, loc, scanner);
}
bool LineParser::parseSpecial (int code, const TokenLoc& loc, Scanner& scanner)
{
return Parser::parseSpecial (code, loc, scanner);
}
void LineParser::reset()
{
}
}