diff options
author | Li Jin <dragon-fly@qq.com> | 2017-07-16 23:47:58 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2017-07-16 23:47:58 +0800 |
commit | 21328c2299eebc03c13478d7d214f9ed58d9688e (patch) | |
tree | acf359dd833a4d0b5dfefaf4e2bed7b29dad4974 /MoonParser/ast.cpp | |
parent | 9e63302e5906d53d9f39f64c549b9aa7e806b669 (diff) | |
download | yuescript-21328c2299eebc03c13478d7d214f9ed58d9688e.tar.gz yuescript-21328c2299eebc03c13478d7d214f9ed58d9688e.tar.bz2 yuescript-21328c2299eebc03c13478d7d214f9ed58d9688e.zip |
remove uses of dynamic_cast.
Diffstat (limited to 'MoonParser/ast.cpp')
-rw-r--r-- | MoonParser/ast.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/MoonParser/ast.cpp b/MoonParser/ast.cpp index 916fdd7..090f5ee 100644 --- a/MoonParser/ast.cpp +++ b/MoonParser/ast.cpp | |||
@@ -8,6 +8,8 @@ namespace parserlib { | |||
8 | //current AST container. | 8 | //current AST container. |
9 | static ast_container *_current = 0; | 9 | static ast_container *_current = 0; |
10 | 10 | ||
11 | int ast_type_id = 0; | ||
12 | |||
11 | 13 | ||
12 | /** sets the container under construction to be this. | 14 | /** sets the container under construction to be this. |
13 | */ | 15 | */ |