Skip to content

Commit

Permalink
Added initial() expression.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@914 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
Peter Aronsson committed Feb 4, 2003
1 parent 93f29e6 commit dbfa87c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions modelica_parser/src/modelica_parser.g
Expand Up @@ -37,6 +37,7 @@ tokens {
EXTERNAL_FUNCTION_CALL;
FOR_INDICES ;
FUNCTION_CALL ;
INITIAL_FUNCTION_CALL ;
FUNCTION_ARGUMENTS;
NAMED_ARGUMENTS;
QUALIFIED;
Expand Down Expand Up @@ -603,9 +604,12 @@ component_reference__function_call ! :
else
{
#component_reference__function_call = #cr;
}
}
}
;
| i:INITIAL LPAR! RPAR! {
#component_reference__function_call = #([INITIAL_FUNCTION_CALL,"INITIAL_FUNCTION_CALL"],i);
}
;

name_path :
{ LA(2)!=DOT }? IDENT |
Expand Down

0 comments on commit dbfa87c

Please sign in to comment.