Parsing error

init = function()
  g = 0
  c = g//
end

update = function()
end

draw = function()
end
Unterminated 'function' ; no matching 'end' found, in file "main" at line 1, column 15

The error occurs when the comment marker is right after the variable in the last line. This code no longer causes an error.

init = function()
  g = 0
  c = g//
  c = g
end

update = function()
end

draw = function()
end