diff options
| author | Dongdong Li <[email protected]> | 2013-11-22 15:38:36 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:50:59 -0700 |
| commit | ef8a5521e440baa2f86d468cdc9078f54ec7c0c0 (patch) | |
| tree | c1627660cc01983067eb5d9b09fb82b4e06d9983 /src/intersim/config.l | |
| parent | bdc0e550448f04c7c8f030b7421209bae37e651d (diff) | |
Delete Intersim
Code Review Issue: 113001
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17414]
Diffstat (limited to 'src/intersim/config.l')
| -rw-r--r-- | src/intersim/config.l | 51 |
1 files changed, 0 insertions, 51 deletions
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 <stdlib.h>
-#include <string>
-#include <cstring>
-
-#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 );
-}
-
-
|
