On Thu, Apr 28, 2011 at 14:52, Dylan Smith dylan.ah.smith@gmail.com wrote:
Now using atexit function to cleanup up the output file on errors, and parsing errors are signaled using a boolean error variable.
diff --git a/include/rmxftmpl.x b/include/rmxftmpl.x new file mode 100644 index 0000000..e7144b0 --- /dev/null +++ b/include/rmxftmpl.x @@ -0,0 +1,268 @@ +xof 0302txt 0064 +// Copyright (C) 2011 Dylan Smith +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
Looks like some C99 comments slipped in.
On Thu, Apr 28, 2011 at 3:59 PM, Austin English austinenglish@gmail.comwrote:
Looks like some C99 comments slipped in.
It is an X file, not a c file, so the c compiler never touches it directly.
C style comments are also not supported in X files, just // or # style comments.