1
0
Fork 0
forked from fun/fun

Some more error debugging for indentation fun. (0.37.19)

This commit is contained in:
Johannes Findeisen 2025-12-24 00:49:25 +01:00
commit bfe1926fe6
2 changed files with 22 additions and 1 deletions

View file

@ -1,5 +1,5 @@
cmake_minimum_required(VERSION 3.10)
project(fun VERSION 0.37.18 LANGUAGES C)
project(fun VERSION 0.37.19 LANGUAGES C)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD_REQUIRED ON)

View file

@ -0,0 +1,21 @@
#!/usr/bin/env fun
/*
* This file is part of the Fun programming language.
* https://fun-lang.xyz/
*
* Copyright 2025 Johannes Findeisen <you@hanez.org>
* Licensed under the terms of the Apache-2.0 license.
* https://opensource.org/license/apache-2-0
*
* Added: 2025-12-24
*/
if (true)
print("This should fail if 4 spaces are not allowed")
else
print("This is 2 spaces")
/* Expected output:
This should fail if 4 spaces are not allowed
*/