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();
|
return (${enum}::T) DSNLEXER::PrevTok();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function GetCurStrAsToken
|
||||||
|
* Used to support 'loose' matches (quoted tokens)
|
||||||
|
*/
|
||||||
|
${enum}::T GetCurStrAsToken()
|
||||||
|
{
|
||||||
|
return (${enum}::T) DSNLEXER::GetCurStrAsToken();
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// example usage
|
// example usage
|
||||||
|
|
|
@ -5,6 +5,7 @@ clearance
|
||||||
condition
|
condition
|
||||||
constraint
|
constraint
|
||||||
disallow
|
disallow
|
||||||
|
dummy
|
||||||
footprint
|
footprint
|
||||||
graphic
|
graphic
|
||||||
hole
|
hole
|
||||||
|
|
|
@ -331,6 +331,15 @@ public:
|
||||||
return prevTok;
|
return prevTok;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Function GetCurStrAsToken
|
||||||
|
* Used to support "loose" matches (quoted tokens)
|
||||||
|
*/
|
||||||
|
int GetCurStrAsToken()
|
||||||
|
{
|
||||||
|
return findToken( curText );
|
||||||
|
}
|
||||||
|
|
||||||
//-----</overload return values to tokens>-----------------------------
|
//-----</overload return values to tokens>-----------------------------
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue