diff options
-rw-r--r-- | properties.y | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/properties.y b/properties.y index 192c31e..9785e1c 100644 --- a/properties.y +++ b/properties.y @@ -43,14 +43,14 @@ value: VALUE { extern FILE *yyin; -int -main(void) +void +properties_load(FILE *file) { + yyin = file; + do { yyparse(); } while(!feof(yyin)); - - return EXIT_SUCCESS; } void |