summaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorCarl Worth <[email protected]>2010-07-20 15:53:14 -0700
committerIan Romanick <[email protected]>2010-07-20 17:01:11 -0700
commitfb90560744864e44730330e4c801ac47c4ece0e1 (patch)
treea428d700ae392a0709bbcd85e276ea942785f4ec /common.py
parenta9bb4bcde360ef8d0a444bf1c4a7d02a8fdb5fa1 (diff)
glcpp: Avoid warnings in generated flex code.
We define the YY_NO_INPUT macro to avoid one needless function being generated. for the other needless functions, (yyunput and yy_top_state), we add a new UNREACHABLE start condition and call these functions from an action there. This doesn't change functionality at all, (since we never enter the UNREACHABLE start condition), but makes the compiler stop complaining about these two functions being defined but not used.
Diffstat (limited to 'common.py')
0 files changed, 0 insertions, 0 deletions