diff options
-rw-r--r-- | dimension/grammar.y | 2 | ||||
-rw-r--r-- | dimension/lexer.l | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/dimension/grammar.y b/dimension/grammar.y index 5a271cc..06260d4 100644 --- a/dimension/grammar.y +++ b/dimension/grammar.y @@ -188,6 +188,8 @@ yyerror(YYLTYPE *locp, dmnsn_array *astree, dmnsn_token_iterator *iterator, %error-verbose %token-table +%name-prefix "dmnsn_yy" + %expect 0 %parse-param {dmnsn_array *astree} diff --git a/dimension/lexer.l b/dimension/lexer.l index 942a89f..ac90d8e 100644 --- a/dimension/lexer.l +++ b/dimension/lexer.l @@ -17,7 +17,7 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. * *************************************************************************/ -%option reentrant stack yylineno noyywrap +%option reentrant stack yylineno noyywrap prefix="dmnsn_yy" outfile="lex.yy.c" %{ #define YY_DECL static int yylex(const char *filename, dmnsn_array *tokens, \ |