diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-06-23 19:56:46 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-06-23 19:56:46 (GMT) |
commit | 4daae374011de97aafa999f2353e2c7d17511046 (patch) | |
tree | bc51daf75fb7d4be3d17ed4fd3206f08bf7d0aee /parser.y | |
parent | 0fcdcb6bd6117e8e8ccaff15b0a083c2f76266a6 (diff) |
Clifford Wolf:
Added GUI
git-svn-id: http://svn.clifford.at/openscad/trunk@13 b57f626f-c46c-0410-a088-ec61d464b74c
Diffstat (limited to 'parser.y')
-rw-r--r-- | parser.y | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -404,8 +404,13 @@ void yyerror (char const *s) exit(1); } -AbstractModule *parse(FILE *f, int debug) +extern const char *parser_input_buffer; +const char *parser_input_buffer; + +AbstractModule *parse(const char *text, int debug) { + parser_input_buffer = text; + module_stack.clear(); module = new Module(); |