Skip to content

Commit

Permalink
Bugfix for external nodes
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@910 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
levsa committed Jan 28, 2003
1 parent e7a2d89 commit 024bbe0
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions modelica_parser/src/modelica_parser.g
Expand Up @@ -122,15 +122,18 @@ composition :
| equation_clause
| algorithm_clause
)*
( EXTERNAL ( language_specification )?
( external_function_call )?
( external_clause )?
;

external_clause :
EXTERNAL^
( language_specification )?
( external_function_call )?
(SEMICOLON!) ?
/* Relaxed from Modelica 2.0. This code will be correct in 2.1 */

( annotation SEMICOLON! )?
)?
;

;

public_element_list :
PUBLIC^ element_list
;
Expand Down

0 comments on commit 024bbe0

Please sign in to comment.