dtank / iec-compiler

A compiler for IEC61131-3 language
4 stars 1 forks source link

Segmentation fault when calling built-in function "ADD" #1

Open dtank opened 10 years ago

dtank commented 10 years ago

In function "init_symtab", the list of dummy arguments of ADD is the type of struct symlist(NOT a pointer). It can't be changed once being initialized. However, function "callbuiltin" wants to change it. So the fault happens.