Arkshine a873066466 Compiler: Fix enum field size was not taken into account when implicitly passed to a function.
Imported from Pawn 3.3.3930.

Example:

---

enum tag
{
  member[32]
}

new var[tag];

foo(const string[], size = sizeof(string))
{
    // size returns 1 before fix, 32, after.
}

public plugin_init()
{
    foo(var[member]);
}

---
2014-08-26 09:05:22 +02:00
..
2014-08-04 13:18:28 -05:00
2014-08-04 13:18:28 -05:00
2014-08-04 13:18:28 -05:00
2005-07-27 17:28:06 +00:00
2005-07-24 20:00:55 +00:00
2014-08-04 13:18:28 -05:00
2014-08-04 13:18:28 -05:00
2005-07-24 20:00:55 +00:00
2014-08-04 13:18:28 -05:00
2005-07-24 20:00:55 +00:00
2005-07-27 17:28:06 +00:00
2005-07-27 17:28:06 +00:00
2014-08-26 09:05:15 +02:00
2014-08-04 13:18:28 -05:00
2005-07-24 20:00:55 +00:00
2014-08-04 13:18:28 -05:00
2014-08-26 09:05:15 +02:00
2014-08-04 13:18:28 -05:00