def mynext()
c = get
# saute les commentaires (également les lignes commencant pas ;;)
- if (c == "/" or c == ";")
+
+ if (c == ";" and peek == ";")
+ while(true)
+ c = get
+ if (c[0] <= "\n"[0])
+ return c
+ end
+ end
+ end
+ if (c == "/")
prochain = peek
- if(prochain == "/" or prochain == ";")
+ if(prochain == "/")
while(true)
c = get
if (c[0] <= "\n"[0])