Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
NSIS lexer
sethjackson:
Hi I've been working on a NSIS lexer (which I will submit to the tracker as soon as I solve this problem).
So the problem is this.
--- Code: (xml) ---<!-- Variables -->
<Set index="1"
value="$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $R0 $R1 $R2 $R3 $R4 $R5 $R6 $R7
$R8 $R9 $\t $\" $\' $\` $VARNAME $0, $INSTDIR $OUTDIR $CMDLINE
$LANGUAGE $PROGRAMFILES $COMMONFILES $DESKTOP $EXEDIR ${NSISDIR}
$WINDIR $SYSDIR $TEMP $STARTMENU $SMPROGRAMS $SMSTARTUP
$QUICKLAUNCH $DOCUMENTS $SENDTO $RECENT $FAVORITES $MUSIC
$PICTURES $VIDEOS $NETHOOD $FONTS $TEMPLATES $APPDATA $PRINTHOOD
$INTERNET_CACHE $COOKIES $HISTORY $PROFILE $ADMINTOOLS $RESOURCES
$RESOURCES_LOCALIZED $CDBURN_AREA $HWNDPARENT $PLUGINSDIR
$$ $\r $\n"/>
--- End code ---
These are the NSIS variables. However I have one small problem. This right here.
--- Code: (xml) ---$\"
--- End code ---
The lexer will not load because of this variable. How do I fix it so the lexer will load and this variable is in the list?
sethjackson:
Woohoo I got it. :D
--- Code: (xml) ---<!-- Variables -->
<Set index="1"
value="$0 $1 $2 $3 $4 $5 $6 $7 $8 $9 $R0 $R1 $R2 $R3 $R4 $R5 $R6 $R7
$R8 $R9 $\t $\" $\' $\` $VARNAME $0, $INSTDIR $OUTDIR $CMDLINE
$LANGUAGE $PROGRAMFILES $COMMONFILES $DESKTOP $EXEDIR ${NSISDIR}
$WINDIR $SYSDIR $TEMP $STARTMENU $SMPROGRAMS $SMSTARTUP
$QUICKLAUNCH $DOCUMENTS $SENDTO $RECENT $FAVORITES $MUSIC
$PICTURES $VIDEOS $NETHOOD $FONTS $TEMPLATES $APPDATA $PRINTHOOD
$INTERNET_CACHE $COOKIES $HISTORY $PROFILE $ADMINTOOLS $RESOURCES
$RESOURCES_LOCALIZED $CDBURN_AREA $HWNDPARENT $PLUGINSDIR
$$ $\r $\n"/>
--- End code ---
I used " instead of ". DOH! I'm going to post the NSIS lexer to the tracker soon.
sethjackson:
Here is the link to the tracker. :D
https://developer.berlios.de/patch/index.php?func=detailpatch&patch_id=898&group_id=5358
killerbot:
a great job from our lexer expert once again.
Does anyone have a "SethLexer" ? :lol: :lol: :lol: :lol:
takeshimiya:
--- Quote from: killerbot on March 06, 2006, 07:32:27 am ---a great job from our lexer expert once again.
Does anyone have a "SethLexer" ? :lol: :lol: :lol: :lol:
--- End quote ---
lol, I'm writting one :lol:
Navigation
[0] Message Index
[#] Next page
Go to full version