Changeset 13580


Ignore:
Timestamp:
2012-10-23T16:49:49+02:00 (12 years ago)
Author:
leonardo.laguna
Message:
  • Trivial fixes for compatibility with VC++
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Parser/Modelica.g

    r12958 r13580  
    334334
    335335element_list returns [void* ast] @init {
     336  int first,last;
    336337  e.ast = 0;
    337   int first,last;
    338338  $ast = 0;
    339339  first = omc_first_comment;
     
    760760    | {LA(1) != EQUALS && LA(1) != ASSIGN}? /* It has to be a CALL */
    761761       {
     762         struct rml_struct *p;
    762763         modelicaParserAssert(RML_GETHDR(e1) == RML_STRUCTHDR(2, Absyn__CALL_3dBOX2),"A singleton expression in an equation section is required to be a function call", equality_or_noretcall_equation, $start->line, $start->charPosition+1, LT(1)->line, LT(1)->charPosition);
    763          struct rml_struct *p = (struct rml_struct*)RML_UNTAGPTR(e1);
     764         p = (struct rml_struct*)RML_UNTAGPTR(e1);
    764765         $ast = Absyn__EQ_5fNORETCALL(p->data[0+UNBOX_OFFSET],p->data[1+UNBOX_OFFSET]);
    765766       }
Note: See TracChangeset for help on using the changeset viewer.