Wikipedia Diskussion:Lua/Modul/JSONutil
Erscheinungsbild
Letzter Kommentar: vor 5 Jahren von קיפודנחש in Abschnitt no comments in JSON
Vorlagenprogrammierung | Diskussionen | Lua | Test | Unterseiten | |||
Modul | Deutsch | English
|
Modul: | Dokumentation |
no comments in JSON
the module tries to verify (starting at line 57) if every open comment ( /* ) is closed. however, this makes no sense - JSON syntax does not support comments of any kind, and every time the module encounters either /* or //, except when inside a string token, it should mark it as an error. verifying that a verbotten "open comment" is matched by another vebotten "close comment" seems illogical.
peace - קיפודנחש (Diskussion) 21:54, 31. Jul. 2019 (CEST)