29 #include "../idlib/precompiled.h"
69 if ( !token.
Icmp(
"}" ) ) {
73 src.
Warning(
"Expected quoted string, but found '%s'", token.
c_str() );
79 src.
Warning(
"Unexpected end of file" );
119 for (
int i = 0 ;
i < defList.
Num() ;
i++ ) {
140 "\t" "\"DEFAULTED\"\t\"1\"\n"
int GetLineNum(void) const
void Delete(const char *key)
const char * GetFileName(void) const
const int DECL_LEXER_FLAGS
const idStr & GetKey(void) const
virtual void CacheDictionaryMedia(const idDict *dict)=0
virtual const char * DefaultDefinition() const
const idKeyValue * MatchPrefix(const char *prefix, const idKeyValue *lastMatch=NULL) const
virtual void FreeData(void)
const char * GetName(void) const
void Set(const char *key, const char *value)
int Icmp(const char *text) const
virtual size_t Size(void) const
virtual bool Parse(const char *text, const int textLength)
void SetDefaults(const idDict *dict)
virtual const idDecl * FindType(declType_t type, const char *name, bool makeDefault=true)=0
const idStr & GetValue(void) const
const idKeyValue * FindKey(const char *key) const
int LoadMemory(const char *ptr, int length, const char *name, int startLine=1)
idDeclManager * declManager
int Append(const type &obj)
void void Warning(const char *str,...) id_attribute((format(printf
const char * c_str(void) const
int SkipUntilString(const char *string)
size_t Allocated(void) const
int ReadToken(idToken *token)