Update manuals and other additions

This commit is contained in:
2026-06-09 12:45:33 -05:00
parent 051b12f28d
commit 78fb8d6d7c
101 changed files with 1629 additions and 401 deletions
+2 -2
View File
@@ -21,7 +21,7 @@ SECTION Hello;
DCL Start PROC() IS ENTRY;
DCL Start PROC() IS BLOCK ENDBLOCK;
"""
cpp = transpile_to_cpp(parse_protel(source), source_name="Hello.protel")
cpp = transpile_to_cpp(parse_protel(source), source_name="Hello.P")
assert "/* ENTRY Start */" in cpp
assert "void Start()" in cpp
assert "int main()" in cpp
@@ -34,7 +34,7 @@ def test_procedure_named_main_without_entry_has_no_c_main():
SECTION demo;
DCL main PROC() IS BLOCK ENDBLOCK;
"""
cpp = transpile_to_cpp(parse_protel(source), source_name="demo.protel")
cpp = transpile_to_cpp(parse_protel(source), source_name="demo.P")
assert "void main()" in cpp
assert "int main()" not in cpp