/************************************************************/
/* comments */
/************************************************************/
/* :SUMMARY: doubleslash starts comments up to the end of a line
:PRIORITY: 1
:STATUS: ok
:FEATURE:
in models.wrm and also in .ace data after // in a line is ignored,
even if // occurs within a string; \ can be used to escape /;
/ is dumped as \/
:HISTORY:
:MODEL:
?N R Text Text
:DATA:
N n // ignored
R Text // ignored
R "Text // also ignored"
R "Text \// not ignored"
R "Text \/\/ also not ignored"
R "Text / with slash"
:RESULT:
N : "n"
R "Text"
R "Text "
R "Text \/\/ not ignored"
R "Text \/\/ also not ignored"
R "Text \/ with slash"
works in: ace4_7 4_8-990519
fails in:
:SCRIPT: */
comments: dbinit wspec.mini
tace
parse: do parse $data/mini.comments.ace
find: do find N
write
exit