diff options
| author | Santo Cariotti <santo@dcariotti.me> | 2024-06-30 11:45:57 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-30 11:45:57 +0000 |
| commit | 8aa8b5834953cab15c0687608f4fafea2e6c61be (patch) | |
| tree | 1835ae7c789136b4a6c44c12efd4247a0b96d893 /src/ast/types/IntType.java | |
| parent | 7125bb27fedaafd5a56b5122e4251b182448ddac (diff) | |
| parent | 06d7c8dee25c065b1a569337f34d3cd5e892a31d (diff) | |
Merge pull request #10 from boozec/check-semantics
Co-Authored-By: geno <gabriele.genovese2@studio.unibo.it>
Co-Authored-By: L0P0P <grassoemanuele@live.com>
Diffstat (limited to 'src/ast/types/IntType.java')
| -rw-r--r-- | src/ast/types/IntType.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ast/types/IntType.java b/src/ast/types/IntType.java index a29518b..6483d93 100644 --- a/src/ast/types/IntType.java +++ b/src/ast/types/IntType.java @@ -4,6 +4,8 @@ package ast.types; * An integer type. */ public class IntType extends Type { + + @Override public String toPrint(String prefix) { return prefix + "Int\n"; } |
