Revert "Modify fix for << in array size"

This reverts commit 0ff9a0959a.

The modified fix breaks Java and C#, where C constant expressions
get used in the generated target language code in some cases.

Revert this fix for now.
This commit is contained in:
Olly Betts 2022-07-27 13:45:08 +12:00
commit 54ddefe410
3 changed files with 4 additions and 11 deletions

View file

@ -121,8 +121,3 @@
#ifdef __INTEL_COMPILER
# pragma warning disable 592
#endif
/* We replace `<<` with `SWIG_LSHIFT` in constant expressions to avoid
* confusing SWIG's type system into thinking there's a template.
*/
#define SWIG_LSHIFT <<