From ef8a5521e440baa2f86d468cdc9078f54ec7c0c0 Mon Sep 17 00:00:00 2001 From: Dongdong Li Date: Fri, 22 Nov 2013 15:38:36 -0800 Subject: Delete Intersim Code Review Issue: 113001 [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17414] --- src/intersim/config.l | 51 --------------------------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 src/intersim/config.l (limited to 'src/intersim/config.l') diff --git a/src/intersim/config.l b/src/intersim/config.l deleted file mode 100644 index a39b2b1..0000000 --- a/src/intersim/config.l +++ /dev/null @@ -1,51 +0,0 @@ - -%{ - -#include "booksim.hpp" -#include -#include -#include - -#include "config_tab.hpp" -#include "config_utils.hpp" - -void configerror(string msg); -extern "C" int configwrap() { return 1; } - -extern int config_input(char *, int); -#undef YY_INPUT -#define YY_INPUT(b, r, ms) (r = config_input(b, ms)) - -int configlineno = 1; - -%} - -%option nounput - -%% - - /* Ignore comments and all spaces */ - -\/\/[^\n]* ; -[ \t\r]* ; - -\n { configlineno++; } - - /* Commands */ - -[A-Za-z_][A-Za-z0-9_]* { configlval.name = strdup( yytext ); return STR; } - -[0-9]+ { configlval.num = strtoul( yytext, 0, 10 ); return NUM; } - -[0-9]+\.[0-9]+ { configlval.fnum = strtod( yytext, 0 ); return FNUM; } - -. { return yytext[0]; } - -%% - -void configerror( string msg ) -{ - Configuration::GetTheConfig( )->ParseError( msg, configlineno ); -} - - -- cgit v1.3