aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2017-03-10 21:45:47 +0000
committerYann Herklotz <ymherklotz@gmail.com>2017-03-10 21:45:47 +0000
commita7ac9e0bb5c1cee263a7454ccdc4b9621613659f (patch)
treedd4858eca8e824a1ae068e7dfc3a5ced54ce7cb1
parentc3719d849e6c279bfdec7089c2cbbadae9b1a01f (diff)
downloadCompiler-a7ac9e0bb5c1cee263a7454ccdc4b9621613659f.tar.gz
Compiler-a7ac9e0bb5c1cee263a7454ccdc4b9621613659f.zip
fixing .gitignore
-rw-r--r--.gitignore19
-rw-r--r--c_compiler/test/.gitignore4
-rwxr-xr-xc_compiler/test/out/ComplexAssignmentbin0 -> 676204 bytes
-rw-r--r--c_compiler/test/out/ComplexAssignment.stderr.txt0
-rwxr-xr-xc_compiler/test/out/ScopeWithAddbin0 -> 676204 bytes
-rw-r--r--c_compiler/test/out/ScopeWithAdd.stderr.txt0
-rwxr-xr-xc_compiler/test/out/SimpleAddbin0 -> 676204 bytes
-rw-r--r--c_compiler/test/out/SimpleAdd.stderr.txt0
-rwxr-xr-xc_compiler/test/out/SimpleAdd_2bin0 -> 676204 bytes
-rw-r--r--c_compiler/test/out/SimpleAdd_2.stderr.txt0
-rwxr-xr-xc_compiler/test/out/SimpleAssignmentbin0 -> 676204 bytes
-rw-r--r--c_compiler/test/out/SimpleAssignment.stderr.txt0
-rwxr-xr-xc_compiler/test/out/SimpleDeclarationbin0 -> 672108 bytes
-rw-r--r--c_compiler/test/out/SimpleDeclaration.stderr.txt0
-rwxr-xr-xc_compiler/test/out/SimpleReturnbin0 -> 672108 bytes
-rw-r--r--c_compiler/test/out/SimpleReturn.stderr.txt0
-rwxr-xr-xc_compiler/test/out/SimpleScopebin0 -> 676204 bytes
-rw-r--r--c_compiler/test/out/SimpleScope.stderr.txt0
-rwxr-xr-xc_compiler/test/out/SimpleShadowingbin0 -> 676204 bytes
-rw-r--r--c_compiler/test/out/SimpleShadowing.stderr.txt0
-rwxr-xr-xc_compiler/test/out/SimpleSubtractionbin0 -> 676204 bytes
-rw-r--r--c_compiler/test/out/SimpleSubtraction.stderr.txt0
-rwxr-xr-xc_compiler/test/ref/ComplexAssignmentbin0 -> 676272 bytes
-rwxr-xr-xc_compiler/test/ref/ScopeWithAddbin0 -> 676264 bytes
-rwxr-xr-xc_compiler/test/ref/SimpleAddbin0 -> 676264 bytes
-rwxr-xr-xc_compiler/test/ref/SimpleAdd_2bin0 -> 676264 bytes
-rwxr-xr-xc_compiler/test/ref/SimpleAssignmentbin0 -> 672172 bytes
-rwxr-xr-xc_compiler/test/ref/SimpleDeclarationbin0 -> 672176 bytes
-rwxr-xr-xc_compiler/test/ref/SimpleReturnbin0 -> 672168 bytes
-rwxr-xr-xc_compiler/test/ref/SimpleScopebin0 -> 676264 bytes
-rwxr-xr-xc_compiler/test/ref/SimpleShadowingbin0 -> 676268 bytes
-rwxr-xr-xc_compiler/test/ref/SimpleSubtractionbin0 -> 676272 bytes
32 files changed, 13 insertions, 10 deletions
diff --git a/.gitignore b/.gitignore
index 5c9ec88..886e692 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,22 +1,25 @@
-# ignored folders
+# specific ignored folders
./bin/
-./c_lexer/build/
-./c_parser/build/
-./c_compiler/build/
./working/
./test/
-./c_compiler/test/ref/
-./c_compiler/test/out/
+
+# ignored all called
+
+build/
+
+# ignore all files with these extensions
*.yy.cpp
*.tab.cpp
*.tab.hpp
*.o
*.output
-\#*
-.#*
*.log
.vagrant
*~
*.s
+
+# emacs temp files
+
+.#*
diff --git a/c_compiler/test/.gitignore b/c_compiler/test/.gitignore
index 74a5cc9..55e9a31 100644
--- a/c_compiler/test/.gitignore
+++ b/c_compiler/test/.gitignore
@@ -1,2 +1,2 @@
-out
-ref
+./out/
+./ref/
diff --git a/c_compiler/test/out/ComplexAssignment b/c_compiler/test/out/ComplexAssignment
new file mode 100755
index 0000000..f77cf43
--- /dev/null
+++ b/c_compiler/test/out/ComplexAssignment
Binary files differ
diff --git a/c_compiler/test/out/ComplexAssignment.stderr.txt b/c_compiler/test/out/ComplexAssignment.stderr.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/c_compiler/test/out/ComplexAssignment.stderr.txt
diff --git a/c_compiler/test/out/ScopeWithAdd b/c_compiler/test/out/ScopeWithAdd
new file mode 100755
index 0000000..9002d11
--- /dev/null
+++ b/c_compiler/test/out/ScopeWithAdd
Binary files differ
diff --git a/c_compiler/test/out/ScopeWithAdd.stderr.txt b/c_compiler/test/out/ScopeWithAdd.stderr.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/c_compiler/test/out/ScopeWithAdd.stderr.txt
diff --git a/c_compiler/test/out/SimpleAdd b/c_compiler/test/out/SimpleAdd
new file mode 100755
index 0000000..bc41b4e
--- /dev/null
+++ b/c_compiler/test/out/SimpleAdd
Binary files differ
diff --git a/c_compiler/test/out/SimpleAdd.stderr.txt b/c_compiler/test/out/SimpleAdd.stderr.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/c_compiler/test/out/SimpleAdd.stderr.txt
diff --git a/c_compiler/test/out/SimpleAdd_2 b/c_compiler/test/out/SimpleAdd_2
new file mode 100755
index 0000000..976035b
--- /dev/null
+++ b/c_compiler/test/out/SimpleAdd_2
Binary files differ
diff --git a/c_compiler/test/out/SimpleAdd_2.stderr.txt b/c_compiler/test/out/SimpleAdd_2.stderr.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/c_compiler/test/out/SimpleAdd_2.stderr.txt
diff --git a/c_compiler/test/out/SimpleAssignment b/c_compiler/test/out/SimpleAssignment
new file mode 100755
index 0000000..4c63ac1
--- /dev/null
+++ b/c_compiler/test/out/SimpleAssignment
Binary files differ
diff --git a/c_compiler/test/out/SimpleAssignment.stderr.txt b/c_compiler/test/out/SimpleAssignment.stderr.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/c_compiler/test/out/SimpleAssignment.stderr.txt
diff --git a/c_compiler/test/out/SimpleDeclaration b/c_compiler/test/out/SimpleDeclaration
new file mode 100755
index 0000000..2860c71
--- /dev/null
+++ b/c_compiler/test/out/SimpleDeclaration
Binary files differ
diff --git a/c_compiler/test/out/SimpleDeclaration.stderr.txt b/c_compiler/test/out/SimpleDeclaration.stderr.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/c_compiler/test/out/SimpleDeclaration.stderr.txt
diff --git a/c_compiler/test/out/SimpleReturn b/c_compiler/test/out/SimpleReturn
new file mode 100755
index 0000000..068ecc4
--- /dev/null
+++ b/c_compiler/test/out/SimpleReturn
Binary files differ
diff --git a/c_compiler/test/out/SimpleReturn.stderr.txt b/c_compiler/test/out/SimpleReturn.stderr.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/c_compiler/test/out/SimpleReturn.stderr.txt
diff --git a/c_compiler/test/out/SimpleScope b/c_compiler/test/out/SimpleScope
new file mode 100755
index 0000000..00b247f
--- /dev/null
+++ b/c_compiler/test/out/SimpleScope
Binary files differ
diff --git a/c_compiler/test/out/SimpleScope.stderr.txt b/c_compiler/test/out/SimpleScope.stderr.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/c_compiler/test/out/SimpleScope.stderr.txt
diff --git a/c_compiler/test/out/SimpleShadowing b/c_compiler/test/out/SimpleShadowing
new file mode 100755
index 0000000..12e2ae1
--- /dev/null
+++ b/c_compiler/test/out/SimpleShadowing
Binary files differ
diff --git a/c_compiler/test/out/SimpleShadowing.stderr.txt b/c_compiler/test/out/SimpleShadowing.stderr.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/c_compiler/test/out/SimpleShadowing.stderr.txt
diff --git a/c_compiler/test/out/SimpleSubtraction b/c_compiler/test/out/SimpleSubtraction
new file mode 100755
index 0000000..4302fe4
--- /dev/null
+++ b/c_compiler/test/out/SimpleSubtraction
Binary files differ
diff --git a/c_compiler/test/out/SimpleSubtraction.stderr.txt b/c_compiler/test/out/SimpleSubtraction.stderr.txt
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/c_compiler/test/out/SimpleSubtraction.stderr.txt
diff --git a/c_compiler/test/ref/ComplexAssignment b/c_compiler/test/ref/ComplexAssignment
new file mode 100755
index 0000000..06111ed
--- /dev/null
+++ b/c_compiler/test/ref/ComplexAssignment
Binary files differ
diff --git a/c_compiler/test/ref/ScopeWithAdd b/c_compiler/test/ref/ScopeWithAdd
new file mode 100755
index 0000000..51f517d
--- /dev/null
+++ b/c_compiler/test/ref/ScopeWithAdd
Binary files differ
diff --git a/c_compiler/test/ref/SimpleAdd b/c_compiler/test/ref/SimpleAdd
new file mode 100755
index 0000000..726818a
--- /dev/null
+++ b/c_compiler/test/ref/SimpleAdd
Binary files differ
diff --git a/c_compiler/test/ref/SimpleAdd_2 b/c_compiler/test/ref/SimpleAdd_2
new file mode 100755
index 0000000..d87e5ec
--- /dev/null
+++ b/c_compiler/test/ref/SimpleAdd_2
Binary files differ
diff --git a/c_compiler/test/ref/SimpleAssignment b/c_compiler/test/ref/SimpleAssignment
new file mode 100755
index 0000000..8b5a267
--- /dev/null
+++ b/c_compiler/test/ref/SimpleAssignment
Binary files differ
diff --git a/c_compiler/test/ref/SimpleDeclaration b/c_compiler/test/ref/SimpleDeclaration
new file mode 100755
index 0000000..c631eea
--- /dev/null
+++ b/c_compiler/test/ref/SimpleDeclaration
Binary files differ
diff --git a/c_compiler/test/ref/SimpleReturn b/c_compiler/test/ref/SimpleReturn
new file mode 100755
index 0000000..f7448a9
--- /dev/null
+++ b/c_compiler/test/ref/SimpleReturn
Binary files differ
diff --git a/c_compiler/test/ref/SimpleScope b/c_compiler/test/ref/SimpleScope
new file mode 100755
index 0000000..bb7927b
--- /dev/null
+++ b/c_compiler/test/ref/SimpleScope
Binary files differ
diff --git a/c_compiler/test/ref/SimpleShadowing b/c_compiler/test/ref/SimpleShadowing
new file mode 100755
index 0000000..c285cff
--- /dev/null
+++ b/c_compiler/test/ref/SimpleShadowing
Binary files differ
diff --git a/c_compiler/test/ref/SimpleSubtraction b/c_compiler/test/ref/SimpleSubtraction
new file mode 100755
index 0000000..6436dcd
--- /dev/null
+++ b/c_compiler/test/ref/SimpleSubtraction
Binary files differ