summaryrefslogtreecommitdiff
path: root/src/intersim/config.y
diff options
context:
space:
mode:
authorDongdong Li <[email protected]>2013-11-22 15:38:36 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:59 -0700
commitef8a5521e440baa2f86d468cdc9078f54ec7c0c0 (patch)
treec1627660cc01983067eb5d9b09fb82b4e06d9983 /src/intersim/config.y
parentbdc0e550448f04c7c8f030b7421209bae37e651d (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.y')
-rw-r--r--src/intersim/config.y33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/intersim/config.y b/src/intersim/config.y
deleted file mode 100644
index d2388c9..0000000
--- a/src/intersim/config.y
+++ /dev/null
@@ -1,33 +0,0 @@
-%{
-
-#include "booksim.hpp"
-#include <string>
-#include "config_utils.hpp"
-
-int configlex(void);
-void configerror(string msg);
-
-%}
-
-%union {
- char *name;
- unsigned int num;
- double fnum;
-}
-
-%token <name> STR
-%token <num> NUM
-%token <fnum> FNUM
-
-%%
-
-commands : commands command
- | command
-;
-
-command : STR '=' STR ';' { Configuration::GetTheConfig()->Assign( $1, $3 ); free( $1 ); free( $3 ); }
- | STR '=' NUM ';' { Configuration::GetTheConfig()->Assign( $1, $3 ); free( $1 ); }
- | STR '=' FNUM ';' { Configuration::GetTheConfig()->Assign( $1, $3 ); free( $1 ); }
-;
-
-%%