From: <ai...@us...> - 2011-04-13 02:45:35
|
Revision: 11697 http://plplot.svn.sourceforge.net/plplot/?rev=11697&view=rev Author: airwin Date: 2011-04-13 02:45:28 +0000 (Wed, 13 Apr 2011) Log Message: ----------- Correct syntax error (missing trailing ";") in SWIG_fail_arg calls in C code wrapped by typemap. For some reason these syntax errors did not cause issues with our build and run testing, but they did cause major problems (empty output file) for styling of plplotluac.i with uncrustify. Modified Paths: -------------- trunk/bindings/lua/plplotluac.i Modified: trunk/bindings/lua/plplotluac.i =================================================================== --- trunk/bindings/lua/plplotluac.i 2011-04-12 18:39:47 UTC (rev 11696) +++ trunk/bindings/lua/plplotluac.i 2011-04-13 02:45:28 UTC (rev 11697) @@ -785,7 +785,7 @@ strncpy(mapform_funcstr, lua_tostring(L, $input), 255); myL = L; } else - SWIG_fail_arg("$symname", $argnum, "$1_type") + SWIG_fail_arg("$symname", $argnum, "$1_type"); } %typemap(freearg) mapform_func mapform { mapform_funcstr[0]='\0'; @@ -807,7 +807,7 @@ strncpy(label_funcstr, lua_tostring(L, $input), 255); myL = L; } else - SWIG_fail_arg("$symname", $argnum, "$1_type") + SWIG_fail_arg("$symname", $argnum, "$1_type"); } %typemap(freearg) label_func lf { } @@ -830,7 +830,7 @@ myL = L; } } else - SWIG_fail_arg("$symname", $argnum, "$1_type") + SWIG_fail_arg("$symname", $argnum, "$1_type"); } %typemap(freearg) pltr_func pltr { mypltr_funcstr[0]='\0'; @@ -851,7 +851,7 @@ strncpy(myct_funcstr, funcstr, 255); myL = L; } else - SWIG_fail_arg("$symname", $argnum, "$1_type") + SWIG_fail_arg("$symname", $argnum, "$1_type"); } /* you can omit the ct func */ %typemap(default) ct_func ctf { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |