From cc79ac6130baca3179de24004420ce1d0199a140 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 25 Nov 2009 16:48:13 -0500 Subject: Use the dmnsn_ prefix for flex/bison generated sources. --- dimension/grammar.y | 2 ++ dimension/lexer.l | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'dimension') 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 . * *************************************************************************/ -%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, \ -- cgit v1.2.3