aboutsummaryrefslogtreecommitdiff
path: root/src/intersim2/.svn/pristine/d8/d829c556dee3dc27d19528e00200847c1b338e0e.svn-base
diff options
context:
space:
mode:
authorandrewboktor <[email protected]>2015-04-15 16:51:33 -0700
committerandrewboktor <[email protected]>2015-04-15 16:51:33 -0700
commit091cbc85b89043c99041582156215a87afbebaf4 (patch)
tree891b09bae4e255e0aa0d99ff9a9062de8abbccb7 /src/intersim2/.svn/pristine/d8/d829c556dee3dc27d19528e00200847c1b338e0e.svn-base
parent4dc9d53085b568aea0cefe75d599f87bb5e0841f (diff)
parent0b55a95f4389a45fec6ff94e35ded72b42433a29 (diff)
Merge pull request #10 from qqldd/dev
Booksim2 abandoned svn and moved to github (https://github.com/booksim/b...
Diffstat (limited to 'src/intersim2/.svn/pristine/d8/d829c556dee3dc27d19528e00200847c1b338e0e.svn-base')
-rw-r--r--src/intersim2/.svn/pristine/d8/d829c556dee3dc27d19528e00200847c1b338e0e.svn-base37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/intersim2/.svn/pristine/d8/d829c556dee3dc27d19528e00200847c1b338e0e.svn-base b/src/intersim2/.svn/pristine/d8/d829c556dee3dc27d19528e00200847c1b338e0e.svn-base
deleted file mode 100644
index 377d467..0000000
--- a/src/intersim2/.svn/pristine/d8/d829c556dee3dc27d19528e00200847c1b338e0e.svn-base
+++ /dev/null
@@ -1,37 +0,0 @@
-%{
-
-int yylex(void);
-void yyerror(char * msg);
-void config_assign_string( char const * field, char const * value );
-void config_assign_int( char const * field, int value );
-void config_assign_float( char const * field, double value );
-
-#ifdef _WIN32
-#pragma warning ( disable : 4102 )
-#pragma warning ( disable : 4244 )
-#endif
-
-%}
-
-%union {
- char *name;
- int num;
- double fnum;
-}
-
-%token <name> STR
-%token <num> NUM
-%token <fnum> FNUM
-
-%%
-
-commands : commands command
- | command
-;
-
-command : STR '=' STR ';' { config_assign_string( $1, $3 ); free( $1 ); free( $3 ); }
- | STR '=' NUM ';' { config_assign_int( $1, $3 ); free( $1 ); }
- | STR '=' FNUM ';' { config_assign_float( $1, $3 ); free( $1 ); }
-;
-
-%%