Propeller Spin/PASM Compiler 'OpenSpin' (c)2012-2018 Parallax Inc. DBA Parallax Semiconductor.
Version 1.00.81 Compiled on Sep 3 2018 09:56:10
Compiling...
openspin-preproc-dat-bug.spin
|-child.spin
openspin-preproc-dat-bug.spin(1:8) : error : Expected "," or end of line
Line:
#define PREPROC_SYMB
Offending Item: PREPROC_SYMB
shell returned 1
I narrowed down the source of the issue to the line in the child object that defines the data, specifically the "{|}"
Simply commenting the line out has no effect. If the offending text is removed, or redefined such that each character is enclosed in its own quotes (i.e., "{", "|", "}"), build is successful.
Defining the same data in the top object doesn't exhibit the issue.
Could this be clashing with OpenSpin's comment processing code somehow?
(for reference, this was first discovered in a derivative of the PS/2 keyboard driver from the original Propeller Tool library's Keyboard.spin, and the problem also manifests in that original version)
I hope it was okay to close this...I'm pretty sure OpenSpin isn't really maintained any longer given FlexSpin's current development. I'm just trying to clean up some old stale issues in my list.
Consider the following objects
top.spin:
child.spin:
The compiler aborts with the error:
I narrowed down the source of the issue to the line in the child object that defines the data, specifically the "{|}"
"{", "|", "}"
), build is successful.Could this be clashing with OpenSpin's comment processing code somehow?
(for reference, this was first discovered in a derivative of the PS/2 keyboard driver from the original Propeller Tool library's
Keyboard.spin
, and the problem also manifests in that original version)