Last issue wasn't gcc/CLang after all, but the lexer not getting built.
This commit is contained in:
parent
1a3b7828f8
commit
f244f3b24c
|
@ -346,6 +346,15 @@ public:
|
|||
{
|
||||
return (${enum}::T) DSNLEXER::PrevTok();
|
||||
}
|
||||
|
||||
/**
|
||||
* Function GetCurStrAsToken
|
||||
* Used to support 'loose' matches (quoted tokens)
|
||||
*/
|
||||
${enum}::T GetCurStrAsToken()
|
||||
{
|
||||
return (${enum}::T) DSNLEXER::GetCurStrAsToken();
|
||||
}
|
||||
};
|
||||
|
||||
// example usage
|
||||
|
|
|
@ -5,6 +5,7 @@ clearance
|
|||
condition
|
||||
constraint
|
||||
disallow
|
||||
dummy
|
||||
footprint
|
||||
graphic
|
||||
hole
|
||||
|
|
|
@ -331,6 +331,15 @@ public:
|
|||
return prevTok;
|
||||
}
|
||||
|
||||
/**
|
||||
* Function GetCurStrAsToken
|
||||
* Used to support "loose" matches (quoted tokens)
|
||||
*/
|
||||
int GetCurStrAsToken()
|
||||
{
|
||||
return findToken( curText );
|
||||
}
|
||||
|
||||
//-----</overload return values to tokens>-----------------------------
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue