git.iko.soy
/
rowtype-yoga/purescript-native
readme
files
commits
refs
on
golang
help
sign in
Disallow Javascript keywords as identifiers
5cf8fbf
Phil Freeman
13 years ago
src/PureScript/Parser/Common.hs
+18
−1
compare with golang
unified
split
@@ -45,7 +45,24 @@ reservedNames = [ "case"
45
,
"forall"
45
,
"forall"
46
,
"do"
46
,
"do"
47
,
"until"
47
,
"until"
48
−
,
"in"
]
48
+
,
"in"
49
+
,
"break"
50
+
,
"catch"
51
+
,
"continue"
52
+
,
"debugger"
53
+
,
"default"
54
+
,
"delete"
55
+
,
"finally"
56
+
,
"function"
57
+
,
"instanceof"
58
+
,
"new"
59
+
,
"switch"
60
+
,
"this"
61
+
,
"throw"
62
+
,
"try"
63
+
,
"typeof"
64
+
,
"void"
65
+
,
"with"
]
49
66
50
reservedOpNames
::
[String]
67
reservedOpNames
::
[String]
51
reservedOpNames = [
"!"
,
"~"
,
"-"
,
"<="
,
">="
,
"<"
,
">"
,
"*"
,
"/"
,
"%"
,
"++"
,
"+"
,
"<<"
,
">>>"
,
">>"
68
reservedOpNames = [
"!"
,
"~"
,
"-"
,
"<="
,
">="
,
"<"
,
">"
,
"*"
,
"/"
,
"%"
,
"++"
,
"+"
,
"<<"
,
">>>"
,
">>"
keys
esc to close
j k
move down, up
enter
open
esc
back, or up a level
1 2 3 4
readme, files, commits, refs
/
filter
y
copy the clone command
c
compare the chosen commit with another (or shift-click both)
?
show or hide this list