Browse Source

Revert demo

Ginger Bill 8 years ago
parent
commit
d0d8da8c08
1 changed files with 1 additions and 6 deletions
  1. 1 6
      code/demo.odin

+ 1 - 6
code/demo.odin

@@ -1,11 +1,7 @@
 import "fmt.odin";
 import "fmt.odin";
 
 
 proc main() {
 proc main() {
-
-}
-
-/*
-	let program = "+ + * - /";
+	var program = "+ + * - /";
 	var accumulator = 0;
 	var accumulator = 0;
 
 
 	for token in program {
 	for token in program {
@@ -20,5 +16,4 @@ proc main() {
 
 
 	fmt.printf("The program \"%s\" calculates the value %d\n",
 	fmt.printf("The program \"%s\" calculates the value %d\n",
 	           program, accumulator);
 	           program, accumulator);
-*/
 }
 }