Skip to content

Commit

Permalink
low-level parrot variable type specifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
plobsing committed Dec 16, 2010
1 parent 63ec379 commit 7dc5a63
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ojs.coda.js
Expand Up @@ -3,7 +3,7 @@ WinxedParser.hexDigits = "0123456789abcdef"
WinxedParser.keywords = { }
keywords = ["break", "case", "catch", "continue", "default", "do", "else", "for", "function", "if",
"in", "instanceof", "new", "return", "switch", "self", "throw", "try", "var", "while",
"ometa", "class", "using", "extern", "static"]
"ometa", "class", "using", "extern", "static", "string", "int", "num" ]
for (var idx = 0; idx < keywords.length; idx++)
WinxedParser.keywords[keywords[idx]] = true
WinxedParser._isKeyword = function(k) { return this.keywords.hasOwnProperty(k) }
Expand Down
2 changes: 1 addition & 1 deletion src/Ωη.coda.winxed
Expand Up @@ -3,7 +3,7 @@ function keywords_hash[anon, immediate]() {
var keywords = ["break", "case", "catch", "continue", "default", "do", "else",
"for", "function", "if", "in", "instanceof", "new", "return", "switch",
"self", "throw", "try", "var", "while", "ometa", "class", "using",
"extern", "static"];
"extern", "static", "string", "int", "num" ];
var hsh = {};
for (string k in keywords)
hsh[k] = k;
Expand Down

0 comments on commit 7dc5a63

Please sign in to comment.