forked from mirror/openmw-tes3mp
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.0 KiB
C++
44 lines
1.0 KiB
C++
15 years ago
|
|
||
|
#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()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|