Topic Comments stop the keyboard from compiling.

We have two new locations for Keyman technical support:

The Tavultesoft Forums are now read only.


# Comments stop the keyboard from compiling.   2016-02-07 04:17:18.527
br Julian Griffin OSL
Hi

   Now this is very odd.

   The line:
:
Store(StrickOuts) U+E061 U+E062 U+E063 U+E064 \
                  U+E065 U+E066 U+E067 U+E068
   Compiles.

   But the line:
:
Store(StrickOuts) U+E061 U+E062 U+E063 U+E064 \ c abcd
                  U+E065 U+E066 U+E067 U+E068
   Does not.

   The error text is:
:
TPA.kmn: Error: line 187 error 4029: No tokens found in line chr:35
TPA.kmn: Error: line 187 error 402A: Invalid line continuation

   What is even weirder, is the error line listed in the error text [187] is the line above the line that has the comment [\ c abcd].
ie
:
c TPA strickout and phonic clue superscripts.
Store(StrickOuts) U+E061 U+E062 U+E063 U+E064 \ c abcd
                  U+E065 U+E066 U+E067 U+E068 \

   The lines are 187, 188, 189 respectively.

   If I remove the c abcd, the keyboard compiles. If I put it back, it does not compile; and lists the line number before the line with the c abcd comment on it.

Regards
Julian Griffin
# RE: Comments stop the keyboard from compiling.   2016-02-08 06:27:44.647
Marc Durdin
Tavultesoft Staff
This is per specification for the compiler; see http://help.keyman.com/developer/language/guide/long-lines for details.

The incorrect line number is curious but I am going to put that as low priority to investigate for now.
# RE: Comments stop the keyboard from compiling.   2016-02-08 08:03:00.880
br Julian Griffin OSL
Thank you.

   I should know by now, RTFM.

God bless.
Julian Griffin