Author: kjs
Date: Fri Mar 30 10:19:43 2007
New Revision: 17855
Modified:
trunk/compilers/pirc/src/pirlexer.c
Log:
compilers/pirc:
* fix comments that were unclear (particle++)
Modified: trunk/compilers/pirc/src/pirlexer.c
==============================================================================
--- trunk/compilers/pirc/src/pirlexer.c (original)
+++ trunk/compilers/pirc/src/pirlexer.c Fri Mar 30 10:19:43 2007
@@ -574,7 +574,8 @@
=item is_op()
-TODO: FIX THIS
+TODO: check whether 'word' is an op. How does IMCC handle this?
+Is there an API call that checks for this?
Function to check if the specified id is a Parrot op.
Dynamically loaded op libraries need to be considered as well.
@@ -584,7 +585,7 @@
*/
static int
is_op(char *word) {
- if (strcmp(word, "add") == 0) return 1; /* FIX */
+ if (strcmp(word, "add") == 0) return 1; /* hardcoded some, to give an idea
*/
if (strcmp(word, "print") == 0) return 1;
if (strcmp(word, "new") == 0) return 1;
return 0;