aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.c
Commit message (Collapse)AuthorAge
* Move keyword detection code to separate fileGravatar axel2007-04-22
| | | | darcs-hash:20070422095026-ac50b-77a840e2830370f46b7a48fd8863095d2cd7a5f0.gz
* Fix bug in parser, on incomplete blocks. This bug was handled correctly by ↵Gravatar axel2007-04-22
| | | | | | the error handler, so it was non-critical. darcs-hash:20070422094847-ac50b-f8aff4c2939725e256b2f6d020f98240d2658d50.gz
* Use cpp macro to avoid manually adding sentinel value to varargs functionsGravatar axel2007-04-17
| | | | darcs-hash:20070416214041-ac50b-f682569c0d29ab3519bb59335debba525a640175.gz
* Add breakpoint builtinGravatar axel2006-11-11
| | | | darcs-hash:20061111105400-ac50b-18b9165f8719efd45b46e3b3786f7079edd721e7.gz
* Fix indentation error - the else builtin was not properly indentedGravatar axel2007-02-01
| | | | darcs-hash:20070131231820-ac50b-1c5825cd78a1636801b8a4a26c1d15eb811cb28f.gz
* Verify that fd redirection is an intGravatar axel2007-01-27
| | | | darcs-hash:20070127135010-ac50b-d9c048edc5579c460ed2b181c366c67e9cfd7beb.gz
* Print stack trace when execting due to fatal problem or bugGravatar axel2007-01-22
| | | | darcs-hash:20070121150341-ac50b-66b86014963568bf402a76d5beb7c1d4e188c5f7.gz
* A few more error checks during string to integer conversion in various placesGravatar axel2007-01-09
| | | | darcs-hash:20070109134117-ac50b-8816e238b0b6aa3fe83c0a4695d719a60b0d17d4.gz
* Fix typo in user message, remove a few warnings, minor indentation editsGravatar axel2007-01-09
| | | | darcs-hash:20070109025356-ac50b-328e42b8898bbc9b40b4841a032ae7871dba9e13.gz
* Handle out of memory condition in various parts of fish by shutting down ↵Gravatar axel2007-01-09
| | | | | | instead of crashing darcs-hash:20070109025102-ac50b-ee7951028e626628257852fd9b5de97572609cea.gz
* Make it possible to buffer input to other file descriptors than stdin. It is ↵Gravatar axel2007-01-08
| | | | | | still only possible to buffer input on a single descriptor to any given job. darcs-hash:20070107141052-ac50b-561265cd5acde7d882e4506870f13d61d34b3734.gz
* Minor highlighting tweaks to make highlighter handle switches to 'command' ↵Gravatar axel2006-12-14
| | | | | | and 'builtin' builtins more correctly darcs-hash:20061214134025-ac50b-e17f79d1d4d7594ab20a358296f84dbb6356f42b.gz
* Make sure that a command is never executed as the subcommand of the ↵Gravatar axel2006-12-14
| | | | | | 'builtin' builtin darcs-hash:20061214000152-ac50b-f1593dfeb4cecdbe48599ffe8d76a956989c7d24.gz
* Make the builtins 'and', 'or', 'not', 'exec', 'command' and 'builtin' ↵Gravatar axel2006-12-14
| | | | | | respect the '--' argument darcs-hash:20061213154449-ac50b-d2ae8ff5a1cab8e753ddb97545071cc985051411.gz
* Minor comment edits and removal of a warningGravatar axel2006-11-19
| | | | darcs-hash:20061118212459-ac50b-d6f4dddb560b4815ca850f9e9c3e8d7a5cf5ea70.gz
* Update documentation display code to run roff on the client system instead ↵Gravatar axel2006-11-18
| | | | | | of pregenerating documentation and compiling it into program binaries darcs-hash:20061117162438-ac50b-5c4c7f0bd8bf53a16e16ecfead9569e642b7160f.gz
* Add a bugreport function for writing out a message about how to file bug reportsGravatar axel2006-11-18
| | | | darcs-hash:20061117145825-ac50b-0480300cce24657aae9572b79f145d956db93593.gz
* Fix the code for ignoring infinite recursionGravatar axel2006-11-02
| | | | darcs-hash:20061102134537-ac50b-2dddd06dd77c362caf44c9160acc29b76278b230.gz
* Make sure signals aren't blocked while autoloading, also add a few ↵Gravatar axel2006-10-30
| | | | | | consistency checks to see that signals aren't blocked in critical places darcs-hash:20061029210911-ac50b-50bec85c3d59d0332ba44f3ece1a012cdc3e8c4b.gz
* Minor editsGravatar axel2006-10-29
| | | | darcs-hash:20061028164448-ac50b-c53d5f235d01db3a11b01996b77411a213dc5303.gz
* Update autoloader to fix concurrency issues when changing loader path in ↵Gravatar axel2006-10-29
| | | | | | autoloaded function darcs-hash:20061028164122-ac50b-25f978df9afeb370a06ef7576ef03183034bc057.gz
* Minor edits, remove unneeded code, add a few commants, correct spelling, ↵Gravatar axel2006-10-26
| | | | | | tweak the todo list, etc. darcs-hash:20061026102253-ac50b-eb42fdab9a9211d68386a563134856a96b870d90.gz
* Use bitset to implement flags for jobs instead of wasting a whole int for ↵Gravatar axel2006-10-26
| | | | | | every flag darcs-hash:20061025204759-ac50b-ea07caa30782a1ea02d2cd8aa7cbc94474047a10.gz
* Fix a number of bugs found using the warnings generated by earlier patchGravatar axel2006-10-20
| | | | darcs-hash:20061019153603-ac50b-4efb1ad1fe2cbe693a921648a0616a3d258d7933.gz
* First stab at directory transition. Test with care...Gravatar axel2006-10-19
| | | | darcs-hash:20061019115023-ac50b-30c3fd51d8af8a616d63dfcac39370d7fe6d144e.gz
* Various minor cleanupsGravatar axel2006-10-09
| | | | darcs-hash:20061009103408-ac50b-a54797b9f89f51a8fc8f13674e8fd2329e989d4c.gz
* Indent empty lines after a block command correctly. Thanks to Philip Ganchev ↵Gravatar axel2006-10-09
| | | | | | for the suggestion. darcs-hash:20061009095931-ac50b-c958a6ec7a130019527e8e06d94af010d55ac3d5.gz
* Be more rigorous with the exit codes set by the parser and builtinsGravatar axel2006-10-09
| | | | darcs-hash:20061009012102-ac50b-4f28c43dd1ccdcc04d1620a6da05218a99fd7337.gz
* Unknown commands should set the status flag to 127, as in bash and friendsGravatar axel2006-10-09
| | | | darcs-hash:20061008234650-ac50b-d41e6ec3d0a6088b0addf5721aecf8d98ed866cd.gz
* Make sure that if a syntax error occurs, the parser does not try to evaluate ↵Gravatar axel2006-10-09
| | | | | | command substitutions in the command darcs-hash:20061008234458-ac50b-96f9be42b12a9d2d2b61f6700b25c1242e1c385b.gz
* Make sure indentation works even if a line begins with whitespaceGravatar axel2006-10-09
| | | | darcs-hash:20061008232351-ac50b-122ff623a2e428352477aa52afee9a71b40e569e.gz
* Fix a few places where uncasted 0 was used as a null pointer in vararg ↵Gravatar axel2006-10-08
| | | | | | functions, causing potential crashes on 64-bit platforms darcs-hash:20061008132759-ac50b-23fe4f70a5143b8b187780403d8d21fb69c3e83f.gz
* Add autoindentation supportGravatar axel2006-10-07
| | | | darcs-hash:20061007005625-ac50b-11873654797eb1e98fd17893022bdf995be3e2aa.gz
* Drop the optional checking of block type for the end builtinGravatar axel2006-10-05
| | | | darcs-hash:20061004233206-ac50b-cf72c879b4b58c8e5ba4e1dff5c2746ca2e8844f.gz
* First stab at multiline editingGravatar axel2006-10-02
| | | | darcs-hash:20061001160258-ac50b-1a760913e64b96e30ff321d7fbe4069ca161cdfe.gz
* Minor tweaks to code validation for the for builtin (again)Gravatar axel2006-10-02
| | | | darcs-hash:20061001155734-ac50b-6009b98dfccaf8f8292859f25c4d564c6b622f47.gz
* Add syntax check to see that the for builtin is not given an insufficient ↵Gravatar axel2006-09-26
| | | | | | number of arguments darcs-hash:20060926124109-ac50b-b088397933fa7ea539e48fa9fcd461de8295f7ce.gz
* Make sure that syntax validator allows use of 'break' and 'continue' with ↵Gravatar axel2006-09-18
| | | | | | --help even outside of loops, and make sure 'return' is only used in function definitions. darcs-hash:20060918001518-ac50b-78977cbd17e4edce8d1b7d4c5426f478d42392af.gz
* Make it possible to save a function when defining it using the -S switchGravatar axel2006-09-09
| | | | darcs-hash:20060908141241-ac50b-69a055a1e791e04e2b1208a5c36b9bb22c854c12.gz
* Fix crash bug in cyntax validator when using an illegal command name. Thanks ↵Gravatar axel2006-09-08
| | | | | | to Martin Bähr for the report. darcs-hash:20060907201559-ac50b-34fa01bbc40eafddcc64a5111bebd88aab75a8d4.gz
* Optionally add type of block to the end builtin to verify block nesting ↵Gravatar axel2006-09-06
| | | | | | correctness darcs-hash:20060905204347-ac50b-d0f87a700e38cdff9787be827b0df90b7f7baba5.gz
* Clear error buffer before creating new error message to avoid bug causing ↵Gravatar axel2006-09-06
| | | | | | all previous errors to accumulate darcs-hash:20060905204020-ac50b-6ecc9e4c57a6b387431cef32c734ca525f05c26c.gz
* Use dynamically sized buffer for reporting error messages in the parserGravatar axel2006-08-29
| | | | darcs-hash:20060828151913-ac50b-02453c13d107f88023b2331bf40daf6d329ac597.gz
* Fix incorrect usage of the term subshell when command substitution was meantGravatar axel2006-08-23
| | | | darcs-hash:20060822143831-ac50b-cb5267a6434adcbd5bafb452d688bee06c23d4d6.gz
* Rearrange includes so that config.h is always the first file to be includedGravatar axel2006-08-11
| | | | darcs-hash:20060811011835-ac50b-847fc790288e3bb3f3a0ee7734ff278d2dc65bef.gz
* Minor fix to code for detecting help switches to builtinsGravatar axel2006-07-24
| | | | darcs-hash:20060724124845-ac50b-546662123d4d30c314acb1fb74d3c9503332172b.gz
* Minor code edits. Use CHECK instead of a few error messages, add a few ↵Gravatar axel2006-07-21
| | | | | | comments, etc. darcs-hash:20060721010831-ac50b-e9ad82a3885969f9a43e6219523e2bd1867e26ed.gz
* Minor duplicate code removalGravatar axel2006-07-20
| | | | darcs-hash:20060720130246-ac50b-b41daebb302e1cbadf2a4cf812d936edbda85926.gz
* Print help message when the case builtin is misusedGravatar axel2006-07-20
| | | | darcs-hash:20060719232226-ac50b-c61b4b6d498dbfbe83ee1bc4c37766e1a9662630.gz
* Improve error message for attempts to use Posix variable assignmentsGravatar axel2006-07-20
| | | | darcs-hash:20060719232020-ac50b-1564ffffc2e119e90d711605247637e7aac9da96.gz