aboutsummaryrefslogtreecommitdiffstats
path: root/2-parser.md
diff options
context:
space:
mode:
authorm8pple <dt10@imperial.ac.uk>2017-02-14 19:28:45 +0000
committerGitHub <noreply@github.com>2017-02-14 19:28:45 +0000
commitcdd79e06406f8a35106b2f8f579556d6e4b4e0f2 (patch)
treea95a2113da45c9879cd0765bb3d58c3aa6c2c5ae /2-parser.md
parent7c188eff520dc659f2ba324e0eb85174ea318c86 (diff)
downloadCompiler-cdd79e06406f8a35106b2f8f579556d6e4b4e0f2.tar.gz
Compiler-cdd79e06406f8a35106b2f8f579556d6e4b4e0f2.zip
Fix un-parseable example. Thanks to @dan12n. Closes #17
Diffstat (limited to '2-parser.md')
-rw-r--r--2-parser.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/2-parser.md b/2-parser.md
index 5010e2f..5e42160 100644
--- a/2-parser.md
+++ b/2-parser.md
@@ -107,10 +107,10 @@ This code:
int zz(int a, int b, int c)
{
- if(a==b)
+ if(a==b){
int a;
return a;
- else{
+ }else{
int fsdfsdfs;
return c;
}