選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

17 行
499B

  1. // Lexical edge cases for E02-S02. Every line here must lex without error.
  2. program Tokens
  3. var a_b1 as word
  4. var ABCDEFGHIJKLMNOP as byte
  5. a_b1 = $ffFF + %1010 + 65535 + 0 + $0 + %0
  6. END Program WHILE wHiLe
  7. x = ( ) [ ] , . : = + - * / < > <> <= >=
  8. y=a<>b<=c>=d<e>f
  9. s = "q\"\\\n\r" + "" + "x ' y"
  10. c = 'x' + '\'' + '\\' + '\n' + '\R' + '"'
  11. tabbed = 1 // tab separated
  12. z = 7 / 2 // division, then a comment
  13. // comment-only line
  14. self.data[i] = not true and false or null
  15. end program

Powered by TurnKey Linux.